aboutsummaryrefslogtreecommitdiffstats
path: root/man7/unix.7
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2006-03-07 02:02:26 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2006-03-07 02:02:26 +0000
commit878664929665694af7f479f7e73244d8042a7f5b (patch)
treefdf6267e9c5a24fab2b5dae6189ba2121c28525a /man7/unix.7
parenta7dd5ac61722c5dc364610c39a36649e688221cd (diff)
downloadman-pages-878664929665694af7f479f7e73244d8042a7f5b.tar.gz
Wrap long lines; .ta + TABs with spaces in code examples
Diffstat (limited to 'man7/unix.7')
-rw-r--r--man7/unix.722
1 files changed, 10 insertions, 12 deletions
diff --git a/man7/unix.7 b/man7/unix.7
index 67960fd366..0bdfbc1890 100644
--- a/man7/unix.7
+++ b/man7/unix.7
@@ -60,17 +60,16 @@ The local address can be set using
When a socket is connected and it doesn't already have a local address a
unique address in the abstract namespace will be generated automatically.
-.RS
+.in +0.25i
.nf
-#define UNIX_PATH_MAX 108
+#define UNIX_PATH_MAX 108
-.ta 4n 17n 42n
struct sockaddr_un {
- sa_family_t sun_family; /* AF_UNIX */
- char sun_path[UNIX_PATH_MAX]; /* pathname */
+ sa_family_t sun_family; /* AF_UNIX */
+ char sun_path[UNIX_PATH_MAX]; /* pathname */
};
.fi
-.RE
+.in -0.25i
.B sun_family
always contains
@@ -163,16 +162,15 @@ The credentials are passed as a
.I struct ucred
ancillary message.
-.RS
+.in +0.25i
.nf
-.ta 4n 11n 17n
struct ucred {
- pid_t pid; /* process ID of the sending process */
- uid_t uid; /* user ID of the sending process */
- gid_t gid; /* group ID of the sending process */
+ pid_t pid; /* process ID of the sending process */
+ uid_t uid; /* user ID of the sending process */
+ gid_t gid; /* group ID of the sending process */
};
.fi
-.RE
+.in -0.25i
The credentials which the sender specifies are checked by the kernel.
A process with effective user ID 0 is allowed to specify values that do