aboutsummaryrefslogtreecommitdiffstats
path: root/ports/linux/guts/mknod.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/linux/guts/mknod.c')
-rw-r--r--ports/linux/guts/mknod.c13
1 files changed, 13 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;
+ * }
+ */