Mercurial > hg > octave-nkf > gnulib-hg
diff doc/posix-functions/gethostname.texi @ 9638:070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 20 Jan 2008 00:09:59 +0100 |
parents | |
children | 16c473421488 |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/doc/posix-functions/gethostname.texi @@ -0,0 +1,21 @@ +@node gethostname +@section @code{gethostname} +@findex gethostname + +POSIX specification: @url{http://www.opengroup.org/susv3xsh/gethostname.html} + +Gnulib module: gethostname + +Portability problems fixed by Gnulib: +@itemize +@item +This function is missing on some platforms: +mingw. +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +If the given buffer is too small for the host name, some implementations +fail with @code{EINVAL}, instead of returning a truncated host name. +@end itemize