diff options
Diffstat (limited to 'ports/linux/guts/mkfifoat.c')
-rw-r--r-- | ports/linux/guts/mkfifoat.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ports/linux/guts/mkfifoat.c b/ports/linux/guts/mkfifoat.c new file mode 100644 index 0000000..26fcba3 --- /dev/null +++ b/ports/linux/guts/mkfifoat.c @@ -0,0 +1,15 @@ +/* + * Copyright (c) 2008-2010 Wind River Systems; see + * guts/COPYRIGHT for information. + * + * static int + * wrap_mkfifoat(int dirfd, const char *path, mode_t mode) { + * int rc = -1; + */ + dev_t unused = 0; + + rc = wrap___xmknodat(_STAT_VER, dirfd, path, (mode & 07777) | S_IFIFO, &unused); + +/* return rc; + * } + */ |