| plan 9 kernel history: overview | file list | diff list |
1992/0213/port/chan.c (diff list | history)
| 1992/0111/sys/src/9/port/chan.c:669,696 – 1992/0213/sys/src/9/port/chan.c:669,693 (short | long | prev | next) | ||
| 1990/0227 | char* nextelem(char *name, char *elem) { | |
| 1992/0213 | int i, user, w; | |
| 1990/0227 | char *end, *e; | |
| 1992/0213 | Rune r; | |
| 1990/0227 | if(*name == '/') | |
| 1990/11211 | error(Efilename); | |
| 1990/0821 |
| |
| 1990/0227 |
| |
| 1990/0821 |
| |
| 1990/0227 |
| |
| 1990/11211 |
| |
| 1990/0227 |
| |
| 1992/0213 | end = utfrune(name, '/'); if(end == 0) end = strchr(name, 0); w = end-name; if(w >= NAMELEN) error(Efilename); memmove(elem, name, w); elem[w] = 0; | |
| 1990/0227 | while(name < end){ | |
| 1992/0101 |
| |
| 1992/0213 | name += chartorune(&r, name); if(r<sizeof(isfrog) && isfrog[r]) | |
| 1990/11211 | error(Ebadchar); | |
| 1990/0227 |
| |