diff --git a/lib/libc/gen/setuid.3 b/lib/libc/gen/setuid.3 index 42b9e22b7842..2623ef2b48f8 100644 --- a/lib/libc/gen/setuid.3 +++ b/lib/libc/gen/setuid.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)setuid.3 6.4 (Berkeley) 4/19/91 -.\" $Id: setuid.3,v 1.2 1993/07/30 08:38:36 mycroft Exp $ +.\" $Id: setuid.3,v 1.3 1993/12/15 20:32:47 jtc Exp $ .\" .Dd April 19, 1991 .Dt SETUID 3 @@ -45,6 +45,7 @@ .Nd set user and group ID .Sh SYNOPSIS .Fd #include +.Fd #include .Ft int .Fn setuid "uid_t uid" .Ft int diff --git a/lib/libc/gen/tcsetattr.3 b/lib/libc/gen/tcsetattr.3 index aaba2cf8746f..4fd819dee7ee 100644 --- a/lib/libc/gen/tcsetattr.3 +++ b/lib/libc/gen/tcsetattr.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)tcsetattr.3 5.2 (Berkeley) 3/4/92 -.\" $Id: tcsetattr.3,v 1.3 1993/11/30 00:50:58 jtc Exp $ +.\" $Id: tcsetattr.3,v 1.4 1993/12/15 20:32:49 jtc Exp $ .\" .Dd "March 4, 1992" .Dt TCSETATTR 3 @@ -48,11 +48,11 @@ .Sh SYNOPSIS .Fd #include .Ft speed_t -.Fn cfgetispeed "struct termios *t" +.Fn cfgetispeed "const struct termios *t" .Ft int .Fn cfsetispeed "struct termios *t" "speed_t speed" .Ft speed_t -.Fn cfgetospeed "struct termios *t" +.Fn cfgetospeed "const struct termios *t" .Ft int .Fn cfsetospeed "struct termios *t" "speed_t speed" .Ft void @@ -62,7 +62,7 @@ .Ft int .Fn tcgetattr "int fd" "struct termios *t" .Ft int -.Fn tcsetattr "int fd" "int action" "struct termios *t" +.Fn tcsetattr "int fd" "int action" "const struct termios *t" .Sh DESCRIPTION The .Nm cfmakeraw , diff --git a/lib/libc/string/strftime.3 b/lib/libc/string/strftime.3 index c7e1abd4874c..0bcf6e0380be 100644 --- a/lib/libc/string/strftime.3 +++ b/lib/libc/string/strftime.3 @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)strftime.3 5.12 (Berkeley) 6/29/91 -.\" $Id: strftime.3,v 1.3 1993/08/19 16:39:47 jtc Exp $ +.\" $Id: strftime.3,v 1.4 1993/12/15 20:33:00 jtc Exp $ .\" .Dd June 29, 1991 .Dt STRFTIME 3 @@ -43,9 +43,7 @@ .Nm strftime .Nd format date and time .Sh SYNOPSIS -.Fd #include .Fd #include -.Fd #include .Ft size_t .Fn strftime "char *buf" "size_t maxsize" "const char *format" "const struct tm *timeptr" .Sh DESCRIPTION diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2 index 1c45cb5a7548..e4b3dafe1977 100644 --- a/lib/libc/sys/kill.2 +++ b/lib/libc/sys/kill.2 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)kill.2 6.6 (Berkeley) 3/10/91 -.\" $Id: kill.2,v 1.4 1993/11/29 21:25:16 jtc Exp $ +.\" $Id: kill.2,v 1.5 1993/12/15 20:40:35 jtc Exp $ .\" .Dd March 10, 1991 .Dt KILL 2 @@ -39,7 +39,8 @@ .Nm kill .Nd send signal to a process .Sh SYNOPSIS -.Fd #include +.Fd #include +.Fd #include .Ft int .Fn kill "pid_t pid" "int sig" .Sh DESCRIPTION diff --git a/lib/libc/sys/setpgid.2 b/lib/libc/sys/setpgid.2 index af8f36055e03..04a4940170e9 100644 --- a/lib/libc/sys/setpgid.2 +++ b/lib/libc/sys/setpgid.2 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)setpgid.2 6.3 (Berkeley) 3/10/91 -.\" $Id: setpgid.2,v 1.4 1993/11/29 21:25:34 jtc Exp $ +.\" $Id: setpgid.2,v 1.5 1993/12/15 20:40:37 jtc Exp $ .\" .Dd March 10, 1991 .Dt SETPGRP 2 @@ -42,9 +42,9 @@ .Sh SYNOPSIS .Fd #include .Ft int -.Fn setpgid pid_tpid pid_tpgrp +.Fn setpgid "pid_t pid" "pid_t pgrp" .Ft int -.Fn setpgrp pid_tpid pid_tpgrp +.Fn setpgrp "pid_t pid" "pid_t pgrp" .Sh DESCRIPTION .Fn Setpgid sets the process group of the specified process diff --git a/lib/libc/sys/uname.2 b/lib/libc/sys/uname.2 index 3400f44cea69..0963da3210b2 100644 --- a/lib/libc/sys/uname.2 +++ b/lib/libc/sys/uname.2 @@ -30,11 +30,11 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)uname.2 6.6 (Berkeley) 3/10/91 -.\" $Id: uname.2,v 1.4 1993/11/29 21:25:51 jtc Exp $ +.\" $Id: uname.2,v 1.5 1993/12/15 20:40:38 jtc Exp $ .\" .Dd March 29, 1993 .Dt UNAME 2 -.Os Posix +.Os .Sh NAME .Nm uname .Nd get host information @@ -77,18 +77,19 @@ further identify the operating system. .Fa Machine contains the standard name that identifies the hardware that the UNIX system is running on. -.Sn ERRORS +.Sh RETURN VALUE +Upon successful completion a value of 0 is returned. +Otherwise, a value of -1 is returned and +.Va errno +is set to indicate the error. +.Sh ERRORS .Bl -tag -width Er .It Bq Er EFAULT .Fn Uname will fail if .Fa name points to an invalid address. -.Sh RETURN VALUE -Upon successful completion a value of 0 is returned. -Otherwise, a value of -1 is returned and -.Va errno -is set to indicate the error. +.El .Sh SEE ALSO .Xr hostname 1 , .Xr machine 1 ,