repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
etc/services - sync with NetBSD-8
[minix.git]
/
minix
/
lib
/
libc
/
sys
/
mkfifo.c
blob
d1da776ce716c6340b7433225d02366c9c5d995e
1
#include <sys/cdefs.h>
2
#include
"namespace.h"
3
#include <lib.h>
4
5
#include <sys/stat.h>
6
#include <unistd.h>
7
8
int
mkfifo
(
const char
*
name
,
mode_t mode
)
9
{
10
return
mknod
(
name
,
mode
|
S_IFIFO
, (
dev_t
)
0
);
11
}