Differences between version 6 and predecessor to the previous major change of gethostname(2).
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 6 | Last edited on Friday, August 29, 2003 3:13:50 pm | by PerryLorier | Revert |
Older page: | version 5 | Last edited on Friday, February 21, 2003 5:47:52 pm | by PerryLorier | Revert |
@@ -11,9 +11,9 @@
!!RETURN VALUE
On success, zero is returned. On error, -1 is returned, and ''errno'' is set appropriately.
!!ERRORS
-;[EINVAL]: ''len'' is negative or, on Linux/i386, ''len'' is smaller than the actual size. (In this last case glibc 2.1 uses [NAMETOOLONG
].)
+;[EINVAL]: ''len'' is negative or, on Linux/i386, ''len'' is smaller than the actual size. (In this last case glibc 2.1 uses [ENAMETOOLONG
].)
;[EFAULT]: ''name'' is an invalid address.
;[ENAMETOOLONG]: ''len'' is smaller than the length of the hostname
!!CONFORMING TO