-.\" $OpenBSD: access.2,v 1.23 2014/02/13 07:30:39 guenther Exp $
+.\" $OpenBSD: access.2,v 1.24 2014/12/14 07:42:50 schwarze Exp $
.\" $NetBSD: access.2,v 1.7 1995/02/27 12:31:44 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\"
.\" @(#)access.2 8.2 (Berkeley) 4/1/94
.\"
-.Dd $Mdocdate: February 13 2014 $
+.Dd $Mdocdate: December 14 2014 $
.Dt ACCESS 2
.Os
.Sh NAME
.Nm faccessat
.Nd check access permissions of a file or pathname
.Sh SYNOPSIS
-.Fd #include <unistd.h>
+.In unistd.h
.Ft int
.Fn access "const char *path" "int amode"
-.Fd #include <fcntl.h>
-.Fd #include <unistd.h>
+.In fcntl.h
+.In unistd.h
.Ft int
.Fn faccessat "int fd" "const char *path" "int amode" "int flag"
.Sh DESCRIPTION
An I/O error occurred while reading from or writing to the file system.
.It Bq Er EINVAL
An invalid value was specified for
-.Ar amode .
+.Fa amode .
.El
.Pp
Additionally,
-.\" $OpenBSD: kill.2,v 1.21 2014/12/10 07:18:44 guenther Exp $
+.\" $OpenBSD: kill.2,v 1.22 2014/12/14 07:42:50 schwarze Exp $
.\" $NetBSD: kill.2,v 1.7 1995/02/27 12:33:53 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\"
.\" @(#)kill.2 8.3 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: December 10 2014 $
+.Dd $Mdocdate: December 14 2014 $
.Dt KILL 2
.Os
.Sh NAME
system call first appeared in
.At v3 .
The
-.Ar sig
+.Fa sig
argument was introduced in
.At v4 .
.Sh BUGS
-.\" $OpenBSD: ktrace.2,v 1.25 2014/12/10 19:19:00 schwarze Exp $
+.\" $OpenBSD: ktrace.2,v 1.26 2014/12/14 07:42:50 schwarze Exp $
.\" $NetBSD: ktrace.2,v 1.2 1995/02/27 12:33:58 cgd Exp $
.\"
.\" Copyright (c) 1993
.\"
.\" @(#)ktrace.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: December 10 2014 $
+.Dd $Mdocdate: December 14 2014 $
.Dt KTRACE 2
.Os
.Sh NAME
.Nm ktrace
.Nd process tracing
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/param.h>
-.Fd #include <sys/uio.h>
-.Fd #include <sys/ktrace.h>
+.In sys/types.h
+.In sys/param.h
+.In sys/uio.h
+.In sys/ktrace.h
.Ft int
.Fn ktrace "const char *tracefile" "int ops" "int trpoints" "pid_t pid"
.Sh DESCRIPTION
If tracing points are being disabled (see
.Dv KTROP_CLEAR
below),
-.Ar tracefile
+.Fa tracefile
may be
.Dv NULL .
.Pp
.Bl -tag -width KTRFLAG_DESCEND -offset indent -compact
.It Dv KTROP_SET
Enable trace points specified in
-.Ar trpoints .
+.Fa trpoints .
.It Dv KTROP_CLEAR
Disable trace points specified in
-.Ar trpoints .
+.Fa trpoints .
.It Dv KTROP_CLEARFILE
Stop all tracing.
.It Dv KTRFLAG_DESCEND
-.\" $OpenBSD: mlockall.2,v 1.8 2014/07/02 22:22:35 matthew Exp $
+.\" $OpenBSD: mlockall.2,v 1.9 2014/12/14 07:42:50 schwarze Exp $
.\" $NetBSD: mlockall.2,v 1.6 2000/06/26 17:00:02 kleink Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 2 2014 $
+.Dd $Mdocdate: December 14 2014 $
.Dt MLOCKALL 2
.Os
.Sh NAME
.Bl -tag -width Er
.It Bq Er EINVAL
The
-.Ar flags
+.Fa flags
argument is zero or includes unimplemented flags.
.It Bq Er ENOMEM
Locking all of the pages currently mapped would exceed either
-.\" $OpenBSD: setpgid.2,v 1.16 2014/12/10 19:19:00 schwarze Exp $
+.\" $OpenBSD: setpgid.2,v 1.17 2014/12/14 07:42:50 schwarze Exp $
.\" $NetBSD: setpgid.2,v 1.8 1995/02/27 12:36:55 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\"
.\" @(#)setpgid.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: December 10 2014 $
+.Dd $Mdocdate: December 14 2014 $
.Dt SETPGID 2
.Os
.Sh NAME
.Nm setpgrp
.Nd set process group
.Sh SYNOPSIS
-.Fd #include <unistd.h>
+.In unistd.h
.Ft int
.Fn setpgid "pid_t pid" "pid_t pgrp"
.Ft int
.Sh DESCRIPTION
.Fn setpgid
sets the process group of the specified process
-.Ar pid
+.Fa pid
to the specified
-.Ar pgrp .
+.Fa pgrp .
If
-.Ar pid
+.Fa pid
is zero, then the call applies to the current process.
If
-.Ar pgrp
+.Fa pgrp
is zero, the process ID of the specified process is used.
.Sh RETURN VALUES
.Rv -std
-.\" $OpenBSD: sigaction.2,v 1.67 2014/11/17 00:11:05 guenther Exp $
+.\" $OpenBSD: sigaction.2,v 1.68 2014/12/14 07:42:50 schwarze Exp $
.\" $NetBSD: sigaction.2,v 1.7 1995/10/12 15:41:16 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\"
.\" @(#)sigaction.2 8.2 (Berkeley) 4/3/94
.\"
-.Dd $Mdocdate: November 17 2014 $
+.Dd $Mdocdate: December 14 2014 $
.Dt SIGACTION 2
.Os
.Sh NAME
flag (described below) is implied.
.Pp
Options may be specified by setting
-.Em sa_flags .
+.Fa sa_flags .
The meaning of the various bits is as follows:
.Bl -tag -offset indent -width SA_RESETHANDXX
.It Dv SA_NOCLDSTOP
by setting the
.Dv SA_RESTART
bit in
-.Ar sa_flags .
+.Fa sa_flags .
The affected system calls include
.Xr read 2 ,
.Xr write 2 ,
-.\" $OpenBSD: sigprocmask.2,v 1.10 2014/09/09 08:16:52 guenther Exp $
+.\" $OpenBSD: sigprocmask.2,v 1.11 2014/12/14 07:42:50 schwarze Exp $
.\" $NetBSD: sigprocmask.2,v 1.6 1995/02/27 12:37:33 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\"
.\" @(#)sigprocmask.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: September 9 2014 $
+.Dd $Mdocdate: December 14 2014 $
.Dt SIGPROCMASK 2
.Os
.Sh NAME
.Fa set
is null,
the value of
-.Ar how
+.Fa how
is insignificant and the mask remains unchanged,
providing a way to examine the signal mask without modification.
.Pp
-.\" $OpenBSD: socketpair.2,v 1.17 2014/12/10 19:19:00 schwarze Exp $
+.\" $OpenBSD: socketpair.2,v 1.18 2014/12/14 07:42:50 schwarze Exp $
.\" $NetBSD: socketpair.2,v 1.5 1995/02/27 12:38:00 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\"
.\" @(#)socketpair.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: December 10 2014 $
+.Dd $Mdocdate: December 14 2014 $
.Dt SOCKETPAIR 2
.Os
.Sh NAME
function call appeared in
.Bx 4.2 .
.Sh BUGS
-This call is currently implemented only for the
-.Tn LOCAL
-domain.
+This call is currently implemented only for the LOCAL domain.
Many operating systems only accept a
-.Ar protocol
+.Fa protocol
of
.Dv PF_UNSPEC ,
so that should be used instead of