1991-09-03 14:22:32 +00:00
|
|
|
#include <lib.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#define mkfifo _mkfifo
|
|
|
|
#include <sys/stat.h>
|
|
|
|
|
|
|
|
PUBLIC int mkfifo(name, mode)
|
1991-09-19 12:46:16 +00:00
|
|
|
_CONST char *name;
|
1991-09-03 14:22:32 +00:00
|
|
|
int mode;
|
|
|
|
{
|
|
|
|
mode = (mode & 0777) | S_IFIFO;
|
|
|
|
return(_callm1(FS, MKNOD, _len(name), (int)mode, 0,
|
|
|
|
(char *)name, NIL_PTR, NIL_PTR));
|
|
|
|
}
|