projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove hand-written crt1.s and Scrt1.s files for all archs
[musl]
/
src
/
stat
/
mknod.c
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
}