326 |
/* open this description, create it if necessary, always wait on |
326 |
/* open this description, create it if necessary, always wait on |
327 |
* sync to disk w/ every write, only write */ |
327 |
* sync to disk w/ every write, only write */ |
328 |
fd = open(filename, O_CREAT|O_TRUNC|O_SYNC|O_WRONLY); |
328 |
fd = open(filename, O_CREAT|O_TRUNC|O_SYNC|O_WRONLY,S_IRWXU); |