From 51efa06e29946f7dc354b7a8df2e295959de4465 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 20 Mar 2009 19:08:31 +0000 Subject: 20090320-1908 --- man/10/styxserver | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'man') 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. -- cgit v1.2.3