source: trunk/minix/lib/posix/_mkfifo.c@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

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
7PUBLIC 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.