repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
make configure attempt to catch broken floating point CFLAGS/defaults
[musl.git]
/
src
/
stat
/
mknod.c
blob
beebd84e08995c36064ea67706ab7e48d95a48a1
1
#include <sys/stat.h>
2
#include <fcntl.h>
3
#include
"syscall.h"
4
5
int
mknod
(
const char
*
path
,
mode_t mode
,
dev_t dev
)
6
{
7
#ifdef SYS_mknod
8
return
syscall
(
SYS_mknod
,
path
,
mode
,
dev
);
9
#else
10
return
syscall
(
SYS_mknodat
,
AT_FDCWD
,
path
,
mode
,
dev
);
11
#endif
12
}