-.\" $OpenBSD: chflags.2,v 1.25 2014/12/10 19:19:00 schwarze Exp $
+.\" $OpenBSD: chflags.2,v 1.26 2014/12/16 00:06:49 schwarze Exp $
.\" $NetBSD: chflags.2,v 1.6 1995/02/27 12:32:03 cgd Exp $
.\"
.\" Copyright (c) 1989, 1993
.\"
.\" @(#)chflags.2 8.1 (Berkeley) 6/9/93
.\"
-.Dd $Mdocdate: December 10 2014 $
+.Dd $Mdocdate: December 16 2014 $
.Dt CHFLAGS 2
.Os
.Sh NAME
.Fa path
points outside the process's allocated address space.
.It Bq Er EIO
-An
-.Tn I/O
-error occurred while reading from or writing to the file system.
+An I/O error occurred while reading from or writing to the file system.
.It Bq Er EINVAL
The
.Fa flags
.It Bq Er EROFS
The file resides on a read-only file system.
.It Bq Er EIO
-An
-.Tn I/O
-error occurred while reading from or writing to the file system.
+An I/O error occurred while reading from or writing to the file system.
.El
.Sh SEE ALSO
.Xr chflags 1 ,
-.\" $OpenBSD: chroot.2,v 1.19 2014/12/10 19:19:00 schwarze Exp $
+.\" $OpenBSD: chroot.2,v 1.20 2014/12/16 00:06:49 schwarze Exp $
.\" $NetBSD: chroot.2,v 1.7 1995/02/27 12:32:12 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\"
.\" @(#)chroot.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: December 10 2014 $
+.Dd $Mdocdate: December 16 2014 $
.Dt CHROOT 2
.Os
.Sh NAME
.Nm chroot
.Nd change root directory
.Sh SYNOPSIS
-.Fd #include <unistd.h>
+.In unistd.h
.Ft int
.Fn chroot "const char *dirname"
.Sh DESCRIPTION
.Fa dirname
-is the address of the pathname of a directory, terminated by an
-.Tn ASCII
-NUL.
+is the address of the pathname of a directory, terminated by an ASCII NUL.
.Fn chroot
causes
.Fa dirname
-.\" $OpenBSD: fcntl.2,v 1.30 2013/03/31 08:35:46 guenther Exp $
+.\" $OpenBSD: fcntl.2,v 1.31 2014/12/16 00:06:49 schwarze Exp $
.\" $NetBSD: fcntl.2,v 1.6 1995/02/27 12:32:29 cgd Exp $
.\"
.\" Copyright (c) 1983, 1993
.\"
.\" @(#)fcntl.2 8.2 (Berkeley) 1/12/94
.\"
-.Dd $Mdocdate: March 31 2013 $
+.Dd $Mdocdate: December 16 2014 $
.Dt FCNTL 2
.Os
.Sh NAME
.Nm fcntl
.Nd file control
.Sh SYNOPSIS
-.Fd #include <fcntl.h>
+.In fcntl.h
.Ft int
.Fn fcntl "int fd" "int cmd" "..."
.Sh DESCRIPTION
commands are as follows:
.Bl -tag -width O_NONBLOCKX
.It Dv O_NONBLOCK
-Non-blocking
-.Tn I/O ;
-if no data is available to a
+Non-blocking I/O; if no data is available to a
.Xr read 2
call, or if a
.Xr write 2
.It Dv O_ASYNC
Enable the
.Dv SIGIO
-signal to be sent to the process group
-when
-.Tn I/O
-is possible, e.g.,
+signal to be sent to the process group when I/O is possible, e.g.,
upon availability of data to be read.
.It Dv O_SYNC
Cause writes to be synchronous.
-.\" $OpenBSD: getdents.2,v 1.2 2013/12/01 04:07:18 guenther Exp $
+.\" $OpenBSD: getdents.2,v 1.3 2014/12/16 00:06:49 schwarze Exp $
.\" $NetBSD: getdirentries.2,v 1.7 1995/10/12 15:40:50 jtc Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\"
.\" @(#)getdirentries.2 8.1 (Berkeley) 6/9/93
.\"
-.Dd $Mdocdate: December 1 2013 $
+.Dd $Mdocdate: December 16 2014 $
.Dt GETDENTS 2
.Os
.Sh NAME
.Nm getdents
.Nd get directory entries in a filesystem independent format
.Sh SYNOPSIS
-.Fd #include <dirent.h>
+.In dirent.h
.Ft int
.Fn getdents "int fd" "void *buf" "size_t nbytes"
.Sh DESCRIPTION
is too small for returning a directory entry or block of entries,
or the current position pointer is invalid.
.It Bq Er EIO
-An
-.Tn I/O
-error occurred while reading from or writing to the file system.
+An I/O error occurred while reading from or writing to the file system.
.El
.Sh SEE ALSO
.Xr lseek 2 ,
-.\" $OpenBSD: getfh.2,v 1.16 2014/12/10 19:19:00 schwarze Exp $
+.\" $OpenBSD: getfh.2,v 1.17 2014/12/16 00:06:49 schwarze Exp $
.\" $NetBSD: getfh.2,v 1.7 1995/10/12 15:40:53 jtc Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\"
.\" @(#)getfh.2 8.1 (Berkeley) 6/9/93
.\"
-.Dd $Mdocdate: December 10 2014 $
+.Dd $Mdocdate: December 16 2014 $
.Dt GETFH 2
.Os
.Sh NAME
.Nm getfh
.Nd get file handle
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mount.h>
+.In sys/param.h
+.In sys/mount.h
.Ft int
.Fn getfh "const char *path" "fhandle_t *fhp"
.Sh DESCRIPTION
.Fa path
points to an invalid address.
.It Bq Er EIO
-An
-.Tn I/O
-error occurred while reading from or writing to the file system.
+An I/O error occurred while reading from or writing to the file system.
.It Bq Er EINVAL
A portion of
.Fa path
-.\" $OpenBSD: getfsstat.2,v 1.19 2013/07/20 19:33:34 naddy Exp $
+.\" $OpenBSD: getfsstat.2,v 1.20 2014/12/16 00:06:49 schwarze Exp $
.\" $NetBSD: getfsstat.2,v 1.6 1995/06/29 11:40:44 cgd Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\"
.\" @(#)getfsstat.2 8.1 (Berkeley) 6/9/93
.\"
-.Dd $Mdocdate: July 20 2013 $
+.Dd $Mdocdate: December 16 2014 $
.Dt GETFSSTAT 2
.Os
.Sh NAME
.Nm getfsstat
.Nd get list of all mounted file systems
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mount.h>
+.In sys/param.h
+.In sys/mount.h
.Ft int
.Fn getfsstat "struct statfs *buf" "size_t bufsize" "int flags"
.Sh DESCRIPTION
.Fa buf
points to an invalid address.
.It Bq Er EIO
-An
-.Tn I/O
-error occurred while reading from or writing to the file system.
+An I/O error occurred while reading from or writing to the file system.
.El
.Sh SEE ALSO
.Xr statfs 2 ,
-.\" $OpenBSD: getsockopt.2,v 1.47 2014/12/10 19:19:00 schwarze Exp $
+.\" $OpenBSD: getsockopt.2,v 1.48 2014/12/16 00:06:49 schwarze Exp $
.\" $NetBSD: getsockopt.2,v 1.7 1995/02/27 12:33:29 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\"
.\" @(#)getsockopt.2 8.3 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: December 10 2014 $
+.Dd $Mdocdate: December 16 2014 $
.Dt GETSOCKOPT 2
.Os
.Sh NAME
.Nm setsockopt
.Nd get and set options on sockets
.Sh SYNOPSIS
-.Fd #include <sys/socket.h>
+.In sys/socket.h
.Ft int
.Fn getsockopt "int s" "int level" "int optname" "void *optval" "socklen_t *optlen"
.Ft int
To manipulate options at any other level the protocol number of the
appropriate protocol controlling the option is supplied.
For example, to indicate that an option is to be interpreted by the
-.Tn TCP
-protocol,
+TCP protocol,
.Fa level
-should be set to the protocol number of
-.Tn TCP ;
-see
+should be set to the protocol number of TCP; see
.Xr getprotoent 3 .
.Pp
The parameters
-.\" $OpenBSD: mkfifo.2,v 1.12 2014/12/10 19:19:00 schwarze Exp $
+.\" $OpenBSD: mkfifo.2,v 1.13 2014/12/16 00:06:49 schwarze Exp $
.\" $NetBSD: mkfifo.2,v 1.8 1995/02/27 12:34:27 cgd Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\"
.\" @(#)mkfifo.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: December 10 2014 $
+.Dd $Mdocdate: December 16 2014 $
.Dt MKFIFO 2
.Os
.Sh NAME
.Nm mkfifoat
.Nd make a FIFO file
.Sh SYNOPSIS
-.Fd #include <sys/stat.h>
+.In sys/stat.h
.Ft int
.Fn mkfifo "const char *path" "mode_t mode"
-.Fd #include <sys/stat.h>
-.Fd #include <fcntl.h>
+.In sys/stat.h
+.In fcntl.h
.Ft int
.Fn mkfifoat "int fd" "const char *path" "mode_t mode"
.Sh DESCRIPTION
The user's quota of inodes on the file system on
which the FIFO is being created has been exhausted.
.It Bq Er EIO
-An
-.Tn I/O
-error occurred while making the directory entry or allocating the inode.
+An I/O error occurred while making the directory entry or allocating
+the inode.
.It Bq Er EIO
-An
-.Tn I/O
-error occurred while reading from or writing to the file system.
+An I/O error occurred while reading from or writing to the file system.
.It Bq Er EFAULT
.Fa path
points outside the process's allocated address space.
-.\" $OpenBSD: nfssvc.2,v 1.21 2014/03/24 01:54:58 guenther Exp $
+.\" $OpenBSD: nfssvc.2,v 1.22 2014/12/16 00:06:49 schwarze Exp $
.\" $NetBSD: nfssvc.2,v 1.6 1995/02/27 12:35:08 cgd Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\"
.\" @(#)nfssvc.2 8.1 (Berkeley) 6/9/93
.\"
-.Dd $Mdocdate: March 24 2014 $
+.Dd $Mdocdate: December 16 2014 $
.Dt NFSSVC 2
.Os
.Sh NAME
.Nm nfssvc
.Nd NFS services
.Sh SYNOPSIS
-.Fd #include <unistd.h>
-.Fd #include <nfs/nfs.h>
+.In unistd.h
+.In nfs/nfs.h
.Ft int
.Fn nfssvc "int flags" "void *argstructp"
.Sh DESCRIPTION
.Sh BUGS
The
.Nm nfssvc
-system call is designed specifically for the
-.Tn NFS
+system call is designed specifically for the NFS
support daemons and as such is specific to their requirements.
Several fields of the argument structures are assumed to be valid and
sometimes to be unchanged from a previous call, such that
-.\" $OpenBSD: poll.2,v 1.27 2014/11/30 21:58:22 schwarze Exp $
+.\" $OpenBSD: poll.2,v 1.28 2014/12/16 00:06:49 schwarze Exp $
.\"
.\" Copyright (c) 1994 Jason R. Thorpe
.\" All rights reserved.
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\"
-.Dd $Mdocdate: November 30 2014 $
+.Dd $Mdocdate: December 16 2014 $
.Dt POLL 2
.Os
.Sh NAME
.Nm ppoll
.Nd synchronous I/O multiplexing
.Sh SYNOPSIS
-.Fd #include <poll.h>
+.In poll.h
.Ft int
.Fn poll "struct pollfd *fds" "nfds_t nfds" "int timeout"
.Ft int
.Pp
Because
.Ox
-does not implement
-.Tn STREAMS ,
+does not implement STREAMS,
there is no distinction between some of the fields in the
.Fa events
and
-.\" $OpenBSD: quotactl.2,v 1.13 2014/12/10 19:19:00 schwarze Exp $
+.\" $OpenBSD: quotactl.2,v 1.14 2014/12/16 00:06:49 schwarze Exp $
.\" $NetBSD: quotactl.2,v 1.8 1995/02/27 12:35:43 cgd Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
.\"
.\" @(#)quotactl.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: December 10 2014 $
+.Dd $Mdocdate: December 16 2014 $
.Dt QUOTACTL 2
.Os
.Sh NAME
.Nm quotactl
.Nd manipulate filesystem quotas
.Sh SYNOPSIS
-.Fd #include <ufs/ufs/quota.h> /* for ufs quotas */
-.Fd #include <unistd.h>
+.In ufs/ufs/quota.h
+.In unistd.h
.Ft int
.Fn quotactl "const char *path" "int cmd" "int id" "char *addr"
.Sh DESCRIPTION
.Dv Q_QUOTAON ,
the quota file resides on a read-only filesystem.
.It Bq Er EIO
-An
-.Tn I/O
-error occurred while reading from or writing
+An I/O error occurred while reading from or writing
to a file containing quotas.
.It Bq Er EFAULT
An invalid
-.\" $OpenBSD: statfs.2,v 1.23 2014/12/10 19:19:00 schwarze Exp $
+.\" $OpenBSD: statfs.2,v 1.24 2014/12/16 00:06:49 schwarze Exp $
.\" $NetBSD: statfs.2,v 1.10 1995/06/29 11:40:48 cgd Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\"
.\" @(#)statfs.2 8.3 (Berkeley) 2/11/94
.\"
-.Dd $Mdocdate: December 10 2014 $
+.Dd $Mdocdate: December 16 2014 $
.Dt STATFS 2
.Os
.Sh NAME
.Nm fstatfs
.Nd get file system statistics
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mount.h>
+.In sys/param.h
+.In sys/mount.h
.Ft int
.Fn statfs "const char *path" "struct statfs *buf"
.Ft int
.Fa path
points to an invalid address.
.It Bq Er EIO
-An
-.Tn I/O
-error occurred while reading from or writing to the file system.
+An I/O error occurred while reading from or writing to the file system.
.El
.Pp
.Fn fstatfs
.Fa buf
points to an invalid address.
.It Bq Er EIO
-An
-.Tn I/O
-error occurred while reading from or writing to the file system.
+An I/O error occurred while reading from or writing to the file system.
.El
.Sh SEE ALSO
.Xr df 1 ,