]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Add getdelim(), getline(), stpncpy(), strnlen(), wcsnlen(),
authorDavid Schultz <das@FreeBSD.org>
Sat, 28 Feb 2009 06:00:58 +0000 (06:00 +0000)
committerDavid Schultz <das@FreeBSD.org>
Sat, 28 Feb 2009 06:00:58 +0000 (06:00 +0000)
commit69099ba2ec8b01fe51a5c69b98990cde406c5ab8
treef258384b92d5c4bde23e95d4c44fa3547a0364cd
parent8bc369a3e122d4e2dd14be8d96eeaf3f4d8573e2
- Add getdelim(), getline(), stpncpy(), strnlen(), wcsnlen(),
  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@
22 files changed:
include/stdio.h
include/string.h
include/wchar.h
lib/libc/stdio/Makefile.inc
lib/libc/stdio/Symbol.map
lib/libc/stdio/fgetln.3
lib/libc/stdio/fgets.3
lib/libc/stdio/getdelim.c [new file with mode: 0644]
lib/libc/stdio/getline.3 [new file with mode: 0644]
lib/libc/stdio/getline.c [new file with mode: 0644]
lib/libc/stdio/stdio.3
lib/libc/string/Makefile.inc
lib/libc/string/Symbol.map
lib/libc/string/stpncpy.c [new file with mode: 0644]
lib/libc/string/strcpy.3
lib/libc/string/strlen.3
lib/libc/string/strnlen.c [new file with mode: 0644]
lib/libc/string/wcscasecmp.c [new file with mode: 0644]
lib/libc/string/wcsncasecmp.c [new file with mode: 0644]
lib/libc/string/wcsnlen.c [new file with mode: 0644]
lib/libc/string/wmemchr.3
sys/sys/param.h