repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
. pci driver now returns devices, even when they have been pci_reserve()d
[minix3.git]
/
lib
/
posix
/
_mkfifo.c
blob
012c5d567aa91f2d2118d8a4e632e58c5dac5100
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
}