summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2009-03-20 19:08:31 +0000
committerCharles.Forsyth <devnull@localhost>2009-03-20 19:08:31 +0000
commit51efa06e29946f7dc354b7a8df2e295959de4465 (patch)
tree0e321a4336e1030cc25428892b4bcd3a285c2cf9 /man
parent6ab1f7a09ea60217a2c27f860f32ac2fb0df8c28 (diff)
20090320-1908
Diffstat (limited to 'man')
-rw-r--r--man/10/styxserver9
1 files changed, 9 insertions, 0 deletions
diff --git a/man/10/styxserver b/man/10/styxserver
index 8cd10fce..3e8f5fcc 100644
--- a/man/10/styxserver
+++ b/man/10/styxserver
@@ -82,6 +82,7 @@ struct Styxfile
void *u;
};
+void styxsetowner(char *user);
char *styxinit(Styxserver *server, Styxops *ops, char *port, int perm, int needfile);
char *styxwait(Styxserver *server);
char *styxprocess(Styxserver *server);
@@ -125,6 +126,14 @@ is set to true, the styx library will check that each path number it deals with
has a corresponding file associated with it and, if it hasn't, it will issue a
"file does not exist" message automatically. In case of an error, the error message is
returned, otherwise nil is returned to indicate success.
+By default, files are owned by
+.BR inferno ;
+.I styxsetowner
+can be called before
+.I styxinit
+to make
+.I user
+the default owner of files.
.TP
.BI styxwait(server )
Waits for communication from a client. Return value as above.