source:
trunk/minix/lib/posix/_mkfifo.c@
16
| Last change on this file since 16 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 224 bytes | |
| Rev | Line | |
|---|---|---|
| [9] | 1 | #include <lib.h> |
| 2 | #define mkfifo _mkfifo | |
| 3 | #define mknod _mknod | |
| 4 | #include <sys/stat.h> | |
| 5 | #include <unistd.h> | |
| 6 | ||
| 7 | PUBLIC int mkfifo(name, mode) | |
| 8 | _CONST char *name; | |
| 9 | _mnx_Mode_t mode; | |
| 10 | { | |
| 11 | return mknod(name, mode | S_IFIFO, (Dev_t) 0); | |
| 12 | } |
Note:
See TracBrowser
for help on using the repository browser.