source:
trunk/minix/lib/posix/_mkfifo.c@
10
Last change on this file since 10 was 9, checked in by , 13 years ago | |
---|---|
File size: 224 bytes |
Line | |
---|---|
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.