Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The libc strftime() doesn't have any way to distinguish between erroneous input and that which just doesn't generate any output; hence it doesn't set errno. But my_strftime() has logic to reasonably confidently make that distinction, so it should set errno when it determines that it is erroneous input.
- Loading branch information