summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-08-20 08:28:18 +0000
committerru <ru@FreeBSD.org>2001-08-20 08:28:18 +0000
commitb927312bccf42f5250a136d55c27cc6dfb9a4275 (patch)
treedf89a20257c1c1eaacac0b5474d700e0a1e77a1c
parenta6b313f27f0b30eba1571f0b28b80b4d8d70453b (diff)
downloadFreeBSD-src-b927312bccf42f5250a136d55c27cc6dfb9a4275.zip
FreeBSD-src-b927312bccf42f5250a136d55c27cc6dfb9a4275.tar.gz
mdoc(7) police: fixed markup, removed the extra word.
-rw-r--r--share/man/man4/unix.432
1 files changed, 16 insertions, 16 deletions
diff --git a/share/man/man4/unix.4 b/share/man/man4/unix.4
index 53535b6..c6d227b 100644
--- a/share/man/man4/unix.4
+++ b/share/man/man4/unix.4
@@ -39,18 +39,18 @@
.Nm unix
.Nd UNIX-domain protocol family
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/un.h>
+.In sys/types.h
+.In sys/un.h
.Sh DESCRIPTION
The
-.Tn UNIX Ns -domain
+.Ux Ns -domain
protocol family is a collection of protocols
that provides local (on-machine) interprocess
communication through the normal
.Xr socket 2
mechanisms.
The
-.Tn UNIX Ns -domain
+.Ux Ns -domain
family supports the
.Dv SOCK_STREAM
and
@@ -58,7 +58,7 @@ and
socket types and uses
filesystem pathnames for addressing.
.Sh ADDRESSING
-.Tn UNIX Ns -domain
+.Ux Ns -domain
addresses are variable-length filesystem pathnames of
at most 104 characters.
The include file
@@ -73,25 +73,25 @@ char sun_path[104];
.Ed
.Pp
Binding a name to a
-.Tn UNIX Ns -domain
+.Ux Ns -domain
socket with
.Xr bind 2
causes a socket file to be created in the filesystem.
This file is
.Em not
-removed when the socket is closed\(em\c
+removed when the socket is closed \(em
.Xr unlink 2
must be used to remove the file.
.Pp
The
-.Tn UNIX Ns -domain
+.Ux Ns -domain
protocol family does not support broadcast addressing or any form
of
.Dq wildcard
matching on incoming messages.
All addresses are absolute- or relative-pathnames
of other
-.Tn UNIX Ns -domain
+.Ux Ns -domain
sockets.
Normal filesystem access-control mechanisms are also
applied when referencing pathnames; e.g., the destination
@@ -102,7 +102,7 @@ or
must be writable.
.Sh PROTOCOLS
The
-.Tn UNIX Ns -domain
+.Ux Ns -domain
protocol family is comprised of simple
transport protocols that support the
.Dv SOCK_STREAM
@@ -113,9 +113,9 @@ abstractions.
sockets also support the communication of
.Ux
file descriptors through the use of the
-.Ar msg_control
+.Va msg_control
field in the
-.Ar msg
+.Fa msg
argument to
.Xr sendmsg 2
and
@@ -123,7 +123,7 @@ and
.Pp
Any valid descriptor may be sent in a message.
The file descriptor(s) to be passed are described using a
-.Ar struct cmsghdr
+.Vt "struct cmsghdr"
that is defined in the include file
.Aq Pa sys/socket.h .
The type of the message is
@@ -148,7 +148,7 @@ Descriptors that are awaiting delivery, or that are
purposely not received, are automatically closed by the system
when the destination socket is closed.
.Pp
-The effective credentials (i.e., the user ID and group list) the of a
+The effective credentials (i.e., the user ID and group list) of a
peer on a
.Dv SOCK_STREAM
socket may be obtained using the
@@ -158,9 +158,9 @@ This may be used by a server to obtain and verify the credentials of
its client, and vice versa by the client to verify the credentials
of the server.
These will arrive in the form of a filled in
-.Ar struct xucred
+.Vt "struct xucred"
(defined in
-.Pa sys/ucred.h ) .
+.Aq Pa sys/ucred.h ) .
The credentials presented to the server (the
.Xr listen 2
caller) are those of the client when it called
OpenPOWER on IntegriCloud