diff options
| -rw-r--r-- | CHANGES | 2 | ||||
| -rw-r--r-- | man/10/styxserver | 9 |
2 files changed, 11 insertions, 0 deletions
@@ -3,6 +3,8 @@ (the big stack is needed because XCreateBitmapFromData and XPutImage pass control to theme-related code that uses lots of stack space) use uname not aname for user name in libstyx and set aname to "" by default make odbc's new file have mode 666 so others can open it + add styxsetowner function to styxserver.h to set default owner (eve) + move styxserver.h to inferno's include directory 20090222 appl/cmd/ndb/registry.b and dis/registry.dis - implement flush for event file (issue 162) 20090217 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. |
