More manpage tweaks.
This commit is contained in:
parent
77e8bced10
commit
412e7d5328
|
@ -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 <sys/types.h>
|
||||
.Fd #include <unistd.h>
|
||||
.Ft int
|
||||
.Fn setuid "uid_t uid"
|
||||
.Ft int
|
||||
|
|
|
@ -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 <termios.h>
|
||||
.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 ,
|
||||
|
|
|
@ -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 <sys/types.h>
|
||||
.Fd #include <time.h>
|
||||
.Fd #include <string.h>
|
||||
.Ft size_t
|
||||
.Fn strftime "char *buf" "size_t maxsize" "const char *format" "const struct tm *timeptr"
|
||||
.Sh DESCRIPTION
|
||||
|
|
|
@ -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 <sys/signal.h>
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <signal.h>
|
||||
.Ft int
|
||||
.Fn kill "pid_t pid" "int sig"
|
||||
.Sh DESCRIPTION
|
||||
|
|
|
@ -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 <unistd.h>
|
||||
.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
|
||||
|
|
|
@ -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 ,
|
||||
|
|
Loading…
Reference in New Issue