view doc/posix-functions/strnlen.texi @ 17085:80904f782122

doc: document sticky-EOF issue * doc/posix-functions/fgetc.texi (fgetc): * doc/posix-functions/fgets.texi (fgets): * doc/posix-functions/fread.texi (fread): * doc/posix-functions/fscanf.texi (fscanf): * doc/posix-functions/getc.texi (getc): * doc/posix-functions/getchar.texi (getchar): * doc/posix-functions/scanf.texi (scanf): Mention that glibc and default Solaris do not conform to C99 and POSIX-2001 or later, with respect to how getchar etc. behave when feof reports nonzero.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 16 Sep 2012 10:37:16 -0700
parents 498a2211d839
children
line wrap: on
line source

@node strnlen
@section @code{strnlen}
@findex strnlen

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/strnlen.html}

Gnulib module: strnlen

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, AIX 4.3.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, mingw, Interix 3.5.
@item
This function is buggy on some platforms:
AIX 4.3.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@end itemize