omode             289 sysfile.c        int fd, omode;
omode             293 sysfile.c        if(argstr(0, &path) < 0 || argint(1, &omode) < 0)
omode             298 sysfile.c        if(omode & O_CREATE){
omode             310 sysfile.c          if(ip->type == T_DIR && omode != O_RDONLY){
omode             330 sysfile.c        f->readable = !(omode & O_WRONLY);
omode             331 sysfile.c        f->writable = (omode & O_WRONLY) || (omode & O_RDWR);