diff options
Diffstat (limited to 'usr/src/man/man3c/gethostname.3c')
-rw-r--r-- | usr/src/man/man3c/gethostname.3c | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/usr/src/man/man3c/gethostname.3c b/usr/src/man/man3c/gethostname.3c index 6d8a0bcdda..900a5fa816 100644 --- a/usr/src/man/man3c/gethostname.3c +++ b/usr/src/man/man3c/gethostname.3c @@ -1,6 +1,6 @@ '\" te .\" Copyright (c) 1983 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.TH gethostname 3C "22 Mar 2004" "SunOS 5.11" "Standard C Library Functions" +.TH GETHOSTNAME 3C "Mar 22, 2004" .SH NAME gethostname, sethostname \- get or set name of current host .SH SYNOPSIS @@ -43,12 +43,10 @@ Upon successful completion, \fBgethostname()\fR and \fBsethostname()\fR return The \fBgethostname()\fR and \fBsethostname()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The \fIname\fR or \fInamelen\fR argument gave an invalid address. .RE @@ -57,12 +55,10 @@ The \fIname\fR or \fInamelen\fR argument gave an invalid address. The \fBsethostname()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 9n -.rt The {\fBPRIV_SYS_ADMIN\fR} privilege was not asserted in the effective set of the calling process. .RE @@ -75,15 +71,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO |