diff options
Diffstat (limited to 'ports/linux/guts')
-rw-r--r-- | ports/linux/guts/mknod.c | 13 | ||||
-rw-r--r-- | ports/linux/guts/mknodat.c | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/ports/linux/guts/mknod.c b/ports/linux/guts/mknod.c new file mode 100644 index 0000000..eb90e66 --- /dev/null +++ b/ports/linux/guts/mknod.c @@ -0,0 +1,13 @@ +/* + * Copyright (c) 2016 Wind River Systems; see + * guts/COPYRIGHT for information. + * + * int mknod(const char *path, mode_t mode, dev_t dev) + * int rc = -1; + */ + + rc = wrap___xmknod(_MKNOD_VER, path, mode, &dev); + +/* return rc; + * } + */ diff --git a/ports/linux/guts/mknodat.c b/ports/linux/guts/mknodat.c new file mode 100644 index 0000000..4956a6a --- /dev/null +++ b/ports/linux/guts/mknodat.c @@ -0,0 +1,13 @@ +/* + * Copyright (c) 2016 Wind River Systems; see + * guts/COPYRIGHT for information. + * + * int mknodat(int dirfd, const char *path, mode_t mode, dev_t dev) + * int rc = -1; + */ + + rc = wrap___xmknodat(_MKNOD_VER, dirfd, path, mode, &dev); + +/* return rc; + * } + */ |