| plan 9 kernel history: overview | file list | diff list |
1994/0402/port/sysfile.c (diff list | history)
| 1994/0321/sys/src/9/port/sysfile.c:326,331 – 1994/0402/sys/src/9/port/sysfile.c:326,362 (short | long | prev | next) | ||
| 1990/0227 | } long | |
| 1994/0402 | syswrite9p(ulong *arg) { Chan *c; long n; validaddr(arg[1], arg[2], 0); c = fdtochan(arg[0], OWRITE, 1, 1); if(waserror()) { close(c); nexterror(); } if(c->qid.path & CHDIR) error(Eisdir); if(devchar[c->type] != L'M') n = (*devtab[c->type].write)(c, (void*)arg[1], arg[2], c->offset); else n = mntwrite9p(c, (void*)arg[1], arg[2], c->offset); lock(c); c->offset += n; unlock(c); poperror(); close(c); return n; } long | |
| 1990/0227 | syswrite(ulong *arg) { Chan *c; | |