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
retire BIOS_SEG and umap_bios
[minix3.git]
/
lib
/
libc
/
sys-minix
/
mkfifo.c
blob
0c24840296ecad7ed2f30b89ba18e8845cf0023d
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
#ifdef __weak_alias
9
__weak_alias
(
mkfifo
,
_mkfifo
)
10
#endif
11
12
int
mkfifo
(
const char
*
name
,
mode_t mode
)
13
{
14
return
mknod
(
name
,
mode
|
S_IFIFO
, (
dev_t
)
0
);
15
}