aboutsummaryrefslogtreecommitdiff
path: root/man/man3/proto.3
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2020-12-18 09:13:34 +0100
committerPetter Rodhelind <petter.rodhelind@gmail.com>2020-12-18 09:13:34 +0100
commit94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14 (patch)
treead1ad80ee9a4e0ae97451c94a7cf455d3068951b /man/man3/proto.3
parent7cda34cf34f3afbd3f2000aa5e2b59ddc319f0f2 (diff)
parent2991442aef1cf020ffde43673433ee97ef322a53 (diff)
downloadplan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.tar.gz
plan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.tar.bz2
plan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'man/man3/proto.3')
-rw-r--r--man/man3/proto.325
1 files changed, 13 insertions, 12 deletions
diff --git a/man/man3/proto.3 b/man/man3/proto.3
index 2d5da3af..571b932e 100644
--- a/man/man3/proto.3
+++ b/man/man3/proto.3
@@ -24,7 +24,7 @@ int rdproto(char *proto, char *root, Protoenum *enm,
.I Rdproto
reads and interprets the named
.I proto
-file relative to the
+file relative to the
root directory
.IR root .
.PP
@@ -45,9 +45,9 @@ The fifth field is the name of the file from which to copy;
this file is read from the current name space,
not the source file tree.
All fields except the first are optional.
-Specifying
+Specifying
.B -
-for permissions, owner, or group
+for permissions, owner, or group
causes
.I rdproto
to fetch the corresponding information
@@ -92,29 +92,29 @@ Only the
and
.B length
fields are guaranteed to be valid.
-The argument
+The argument
.I a
is the same argument passed to
.IR rdproto ;
typically it points at some extra state
used by the enumeration function.
.PP
-When files or directories do not exist or
-cannot be read by
+When files or directories do not exist or
+cannot be read by
.IR rdproto ,
-it formats a warning message, calls
+it formats a warning message, calls
.IR warn ,
-and continues processing;
+and continues processing;
if
.I warn
-is nil,
+is nil,
.I rdproto
prints the warning message to standard error.
.PP
.I Rdproto
returns zero
if
-.I proto
+.I proto
was processed, \-1 if it could not be opened.
.SH FILES
.TF /sys/lib/sysconfig/proto/portproto
@@ -127,5 +127,6 @@ generic prototype file.
.SH SOURCE
.B \*9/src/libdisk/proto.c
.SH SEE ALSO
-.IR mk9660 (1),
-Plan 9's \fImkfs\fR(8)
+.MR mk9660 (1) ,
+Plan 9's
+.IR mkfs (8)