aboutsummaryrefslogtreecommitdiff
path: root/man/man3/stat.3
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-03 06:40:20 +0000
committerrsc <devnull@localhost>2005-01-03 06:40:20 +0000
commit058b0118a52061ad57694c01fc8763b22b789c4d (patch)
tree6685f04dea5ed68edaa34998c976aed34c55fe94 /man/man3/stat.3
parent2600337aa704efbeba8201e88147a764b4fd2b90 (diff)
downloadplan9port-058b0118a52061ad57694c01fc8763b22b789c4d.tar.gz
plan9port-058b0118a52061ad57694c01fc8763b22b789c4d.tar.bz2
plan9port-058b0118a52061ad57694c01fc8763b22b789c4d.zip
Some man pages.
Diffstat (limited to 'man/man3/stat.3')
-rw-r--r--man/man3/stat.329
1 files changed, 8 insertions, 21 deletions
diff --git a/man/man3/stat.3 b/man/man3/stat.3
index a815550e..03f3abea 100644
--- a/man/man3/stat.3
+++ b/man/man3/stat.3
@@ -46,7 +46,7 @@ and
are the system calls; they deal with machine-independent
.IR "directory entries" .
Their format is defined by
-.IR stat (5).
+.IR stat (9p).
.I Stat
and
.I fstat
@@ -67,7 +67,7 @@ write information back, thus changing file attributes according to the contents
.IR edir .
The data returned from the kernel includes its leading 16-bit length field
as described in
-.IR intro (5).
+.IR intro (9p).
For symmetry, this field must also be present when passing data to the kernel in a call to
.I wstat
and
@@ -242,19 +242,15 @@ can be changed: by the owner if also a member of the new group; or
by the group leader of the file's current group
if also leader of the new group
(see
-.IR intro (5)
-for more information about permissions and
-.IR users (6)
-for users and groups).
+.IR intro (9p)
+for more information about permissions, users, and groups).
The
.B length
can be changed by anyone with write permission, provided the operation
is implemented by the server.
(See
-.IR intro (5)
-for permission information, and
-.IR users (6)
-for user and group information).
+.IR intro (9p)
+for permission, user, and group information).
.PP
Special values in the fields of the
.B Dir
@@ -281,21 +277,12 @@ it is not necessary to use
.I stat
to retrieve the initial values first.
.SH SOURCE
-.TF /usr/local/plan9/src/libc/9syscall
-.TP
-.B /usr/local/plan9/src/libc/9syscall
-for the
-.RB non- dir
-routines
-.TP
-.B /usr/local/plan9/src/libc/9sys
-for the routines prefixed
-.B dir
+.B /usr/local/plan9/src/lib9/dirstat.c
.SH SEE ALSO
.IR intro (3),
.IR fcall (3),
.IR dirread (3),
-.IR stat (5)
+.IR stat (9p)
.SH DIAGNOSTICS
The
.I dir