aboutsummaryrefslogtreecommitdiff
path: root/man/man3/9pclient.3
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-18 18:31:09 +0000
committerrsc <devnull@localhost>2005-01-18 18:31:09 +0000
commite4d62adf03a2b2914fe9d33a3d8c50ae04cd4aea (patch)
tree5b04b0edeea86420364a53a1edf77e316c7e7fd5 /man/man3/9pclient.3
parent80f510c8a46b218e8cdff001049e8037bcdabe57 (diff)
downloadplan9port-e4d62adf03a2b2914fe9d33a3d8c50ae04cd4aea.tar.gz
plan9port-e4d62adf03a2b2914fe9d33a3d8c50ae04cd4aea.tar.bz2
plan9port-e4d62adf03a2b2914fe9d33a3d8c50ae04cd4aea.zip
update
Diffstat (limited to 'man/man3/9pclient.3')
-rw-r--r--man/man3/9pclient.319
1 files changed, 13 insertions, 6 deletions
diff --git a/man/man3/9pclient.3 b/man/man3/9pclient.3
index cb2725a2..4db33491 100644
--- a/man/man3/9pclient.3
+++ b/man/man3/9pclient.3
@@ -30,10 +30,10 @@ CFsys* fsinit(int fd)
int fsversion(CFsys *fsys, int msize, char *version, int nversion)
.PP
.B
-CFid *fsauth(CFsys *fsys, char *uname, char *aname)
+CFid* fsauth(CFsys *fsys, char *uname, char *aname)
.PP
.B
-CFid *fsattach(CFsys *fsys, CFid *afid, char *uname, char *aname)
+CFid* fsattach(CFsys *fsys, CFid *afid, char *uname, char *aname)
.PP
.B
void fssetroot(CFsys *fsys, CFid *fid)
@@ -42,7 +42,7 @@ void fssetroot(CFsys *fsys, CFid *fid)
void fsclose(CFid *fid)
.PP
.B
-CFid *fscreate(CFsys *fs, char *path, int mode, ulong perm)
+CFid* fscreate(CFsys *fs, char *path, int mode, ulong perm)
.PP
.B
CFid* fsopen(CFsys *fs, char *path, int mode)
@@ -63,6 +63,9 @@ long fsreadn(CFid *fid, void *buf, long n)
long fswrite(CFid *fid, void *buf, long n)
.PP
.B
+vlong fsseek(CFid *Fid, vlong n, int type)
+.PP
+.B
long fsdirread(CFid *fid, Dir **d)
.PP
.B
@@ -234,6 +237,13 @@ analagous to the offset maintained by the kernel for each open file descriptor.
and
.I fswrite
read and write from this offset, and update it after successful calls.
+.I Fsseek
+sets the offset; the
+.I n
+and
+.I type
+arguments are used as in
+.IR seek (3).
Calling
.I fspread
or
@@ -337,6 +347,3 @@ transaction, or to
and
.I create
on already-established fids.
-.PP
-There is no
-.IR fsseek .