summaryrefslogtreecommitdiff
path: root/src/sys/shm/shmat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/shm/shmat.c')
-rw-r--r--src/sys/shm/shmat.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sys/shm/shmat.c b/src/sys/shm/shmat.c
new file mode 100644
index 00000000..0cee4898
--- /dev/null
+++ b/src/sys/shm/shmat.c
@@ -0,0 +1,10 @@
+#include <sys/shm.h>
+
+void * shmat(int shmid, const void *shmaddr, int shmflg)
+{
+ return (void*)shmaddr;
+}
+
+/*
+XOPEN(4)
+*/