summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/getdelim.c
Commit message (Collapse)AuthorAgeFilesLines
* Return -1 instead of 0 upon reaching EOF. This is somewhat ill-adviseddas2009-04-061-2/+4
| | | | | | | | because it means getdelim() returns -1 for both error and EOF, and never returns 0. However, this is what the original GNU implementation does, and POSIX inherited the bug. Reported by: marcus@
* - Add getdelim(), getline(), stpncpy(), strnlen(), wcsnlen(),das2009-02-281-0/+158
wcscasecmp(), and wcsncasecmp(). - Make some previously non-standard extensions visible if POSIX_VISIBLE >= 200809. - Use restrict qualifiers in stpcpy(). - Declare off_t and size_t in stdio.h. - Bump __FreeBSD_version in case the new symbols (particularly getline()) cause issues with ports. Reviewed by: standards@
OpenPOWER on IntegriCloud