Branch
Hash :
81868618
Author :
Date :
2024-08-09T02:09:03
doc: Update for other functions added in POSIX:2024. * doc/posix-functions/be16toh.texi: New file. * doc/posix-functions/be32toh.texi: New file. * doc/posix-functions/be64toh.texi: New file. * doc/posix-functions/dcgettext_l.texi: New file. * doc/posix-functions/dcngettext_l.texi: New file. * doc/posix-functions/dgettext_l.texi: New file. * doc/posix-functions/dngettext_l.texi: New file. * doc/posix-functions/getlocalename_l.texi: New file. * doc/posix-functions/gettext_l.texi: New file. * doc/posix-functions/htobe16.texi: New file. * doc/posix-functions/htobe32.texi: New file. * doc/posix-functions/htobe64.texi: New file. * doc/posix-functions/htole16.texi: New file. * doc/posix-functions/htole32.texi: New file. * doc/posix-functions/htole64.texi: New file. * doc/posix-functions/le16toh.texi: New file. * doc/posix-functions/le32toh.texi: New file. * doc/posix-functions/le64toh.texi: New file. * doc/posix-functions/ngettext_l.texi: New file. * doc/posix-functions/posix_close.texi: New file. * doc/posix-functions/posix_devctl.texi: New file. * doc/posix-functions/posix_getdents.texi: New file. * doc/posix-functions/posix_spawn_file_actions_addchdir.texi: New file. * doc/posix-functions/posix_spawn_file_actions_addfchdir.texi: New file. * doc/posix-functions/sig2str.texi: New file. * doc/posix-functions/str2sig.texi: New file. * doc/posix-functions/tcgetwinsize.texi: New file. * doc/posix-functions/tcsetwinsize.texi: New file. * doc/posix-functions/wcslcat.texi: New file. * doc/posix-functions/wcslcpy.texi: New file. * doc/gnulib.texi (Functions in <devctl.h>, Functions in <endian.h>): New sections. (Functions in <dirent.h>, Functions in <libintl.h>, Functions in <locale.h>, Functions in <signal.h>, Functions in <spawn.h>, Functions in <termios.h>, Functions in <unistd.h>, Functions in <wchar.h>): Include the other new files. * doc/posix-functions/strlcat.texi: Update. * doc/posix-functions/strlcpy.texi: Update.
@node strlcpy
@subsection @code{strlcpy}
@findex strlcpy
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/strlcpy.html}
Documentation:@*
@ifinfo
@ref{Truncating Strings,,Truncating Strings while Copying,libc}.
@end ifinfo
@ifnotinfo
@url{https://www.gnu.org/software/libc/manual/html_node/Truncating-Strings.html}.
@end ifnotinfo
Gnulib module: ---
Portability problems fixed by Gnulib:
@itemize
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
glibc 2.37, AIX 7.3.1, HP-UX 11.31, mingw, MSVC 14.
@end itemize