summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/intro.256
1 files changed, 22 insertions, 34 deletions
diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2
index 01ab27b9503..0ebab78f19c 100644
--- a/lib/libc/sys/intro.2
+++ b/lib/libc/sys/intro.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: intro.2,v 1.54 2015/01/01 07:05:24 schwarze Exp $
+.\" $OpenBSD: intro.2,v 1.55 2015/01/01 07:27:34 schwarze Exp $
.\" $NetBSD: intro.2,v 1.6 1995/02/27 12:33:41 cgd Exp $
.\"
.\" Copyright (c) 1980, 1983, 1986, 1991, 1993
@@ -206,8 +206,7 @@ available on the file system.
.It Er 29 ESPIPE Em "Illegal seek" .
An
.Xr lseek 2
-function was issued on a socket, pipe or
-.Tn FIFO .
+function was issued on a socket, pipe or FIFO.
.It Er 30 EROFS Em "Read-only file system" .
An attempt was made to modify a file or create a directory
on a file system that was read-only at the time.
@@ -217,8 +216,7 @@ exceeded (see
.Xr pathconf 2
for how to obtain this value).
.It Er 32 EPIPE Em "Broken pipe" .
-A write on a pipe, socket or
-.Tn FIFO
+A write on a pipe, socket or FIFO
for which there is no process to read the data.
.It Er 33 EDOM Em "Numerical argument out of domain" .
A numerical input argument was outside the defined domain of
@@ -247,11 +245,7 @@ or some other network limit.
.It Er 41 EPROTOTYPE Em "Protocol wrong type for socket" .
A protocol was specified that does not support the semantics of the
socket type requested.
-For example, you cannot use the
-.Tn ARPA
-Internet
-.Tn UDP
-protocol with type
+For example, you cannot use the Internet UDP protocol with type
.Dv SOCK_STREAM .
.It Er 42 ENOPROTOOPT Em "Protocol not available" .
A bad option or level was specified in a
@@ -277,10 +271,7 @@ system or no implementation for it exists.
.It Er 47 EAFNOSUPPORT Em "Address family not supported by protocol family" .
An address incompatible with the requested protocol was used.
For example, you shouldn't necessarily expect to be able to use
-.Tn NS
-addresses with
-.Tn ARPA
-Internet protocols.
+NS addresses with Internet protocols.
.It Er 48 EADDRINUSE Em "Address already in use" .
Only one usage of each address is normally permitted.
.It Er 49 EADDRNOTAVAIL Em "Can't assign requested address" .
@@ -366,29 +357,29 @@ or the creation of a directory entry failed because the user's quota
of disk blocks was exhausted, or the allocation of an inode for a newly
created file failed because the user's quota of inodes was exhausted.
.It Er 70 ESTALE Em "Stale NFS file handle" .
-An attempt was made to access an open file (on an
-.Tn NFS
-filesystem) which is now unavailable as referenced by the file descriptor.
-This may indicate the file was deleted on the
-.Tn NFS
-server or some
-other catastrophic event occurred.
+An attempt was made to access an open file on an NFS filesystem which
+is now unavailable as referenced by the file descriptor.
+This may indicate the file was deleted on the NFS server or some other
+catastrophic event occurred.
.It Er 72 EBADRPC Em "RPC struct is bad" .
Exchange of
-.Tn RPC
+.Xr rpc 3
information was unsuccessful.
.It Er 73 ERPCMISMATCH Em "RPC version wrong" .
The version of
-.Tn RPC
+.Xr rpc 3
on the remote peer is not compatible with the local version.
.It Er 74 EPROGUNAVAIL Em "RPC prog. not avail" .
-The requested program is not registered on the remote host.
+The requested
+.Xr rpc 3
+program is not registered on the remote host.
.It Er 75 EPROGMISMATCH Em "Program version wrong" .
-The requested version of the program is not available on the remote host
-.Pq Tn RPC .
+The requested version of the
+.Xr rpc 3
+program is not available on the remote host.
.It Er 76 EPROCUNAVAIL Em "Bad procedure for program" .
An
-.Tn RPC
+.Xr rpc 3
call was attempted for a procedure which doesn't exist
in the remote program.
.It Er 77 ENOLCK Em "\&No locks available" .
@@ -401,12 +392,10 @@ system.
The file contains invalid data or set to invalid modes.
.It Er 80 EAUTH Em "Authentication error" .
Attempted to use an invalid authentication ticket to mount a
-.Tn NFS
-filesystem.
+NFS filesystem.
.It Er 81 ENEEDAUTH Em "Need authenticator" .
An authentication ticket must be obtained before the given
-.Tn NFS
-filesystem may be mounted.
+NFS filesystem may be mounted.
.It Er 82 EIPSEC Em "IPsec processing failure" .
IPsec subsystem error.
Not used in
@@ -611,7 +600,7 @@ file names because of the special meaning attached to these characters
by the shell.
.Pp
Note also that
-.Pq Dv NAME_MAX
+.Dv NAME_MAX
is an upper limit fixed by the kernel, meant to be used for sizing buffers.
Some filesystems may have additional restrictions.
These can be queried using
@@ -619,8 +608,7 @@ These can be queried using
and
.Xr fpathconf 2 .
.It Path Name
-A path name is a
-.Tn NUL Ns -terminated
+A path name is a NUL-terminated
character string starting with an
optional slash
.Ql \&/ ,