doc/glibc-functions/sethostname.texi


Log

Author Commit Date CI Message
Bruno Haible be670802 2011-12-04T15:47:27 sethostname: Fix documentation. * doc/glibc-functions/sethostname.texi: Move the Solaris problem to the "not fixed" section.
Bruno Haible 1917369d 2011-12-03T14:09:14 Tweak last commit. * lib/sethostname.c: Don't include <string.h>. (sethostname): No need to copy the argument string to the stack. Don't call clearerr. Preserve errno when fprintf failed. * m4/sethostname.m4 (gl_FUNC_SETHOSTNAME): Comment about HOST_NAME_MAX. Don't invoke AC_REPLACE_FUNCS. * modules/sethostname (Link): Remove empty section. * doc/glibc-functions/sethostname.texi: Gnulib does not fix the ENOSYS failure problem.
Ben Walton ab8fbf44 2011-12-02T23:04:17 Add a new sethostname module Define sethostname on platforms that do not provide the declaration. Provide a function for platforms that lack it. The general handling of the provided function is to simply return -1 and set errno to ENOSYS. A specific handler is provided for Minix. * lib/sethostname.c (sethostname): New file. Provide sethostname for systems that lack it. * m4/sethostname.m4 (gl_FUNC_SETHOSTNAME): New file. Detection of sethostname declaration and function. * modules/sethostname: New file. Define the sethostname module. Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
Bruno Haible 4d0c5cc2 2011-11-20T15:12:32 sethostname: Fix doc about AIX. * doc/glibc-functions/sethostname.texi: Drop mention that AIX 5.1 lacks sethostname; it has it.
Bruno Haible b55f380f 2011-11-20T14:21:07 sethostname: Mention more portability problems. * doc/glibc-functions/sethostname.texi: Mention the missing declaration problem. Reported by Ben Walton <bwalton@artsci.utoronto.ca>.
Bruno Haible 4e39aa42 2011-09-11T21:56:17 doc: Update regarding MSVC 9. * doc/gnulib-intro.texi (Target Platforms): Classify MSVC as "rarely tested". * doc/posix-functions/*.texi: Update with info about MSVC 9. * doc/posix-headers/*.texi: Likewise. * doc/pastposix-functions/*.texi: Likewise. * doc/glibc-functions/*.texi: Likewise. * doc/glibc-headers/*.texi: Likewise.
Bruno Haible ca2c8579 2011-07-31T14:31:24 Documentation about Minix. * doc/posix-headers/*.texi: Add info about Minix 3.1.8. * doc/glibc-headers/*.texi: Likewise. * doc/posix-functions/*.texi: Likewise. * doc/glibc-functions/*.texi: Likewise.
Bruno Haible 038189bd 2008-01-19T02:51:21 New documentation of GNU libc functions.