summaryrefslogtreecommitdiff
path: root/src/sys/shm
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/shm')
-rw-r--r--src/sys/shm/SHMLBA.h5
-rw-r--r--src/sys/shm/SHM_RDONLY.h5
-rw-r--r--src/sys/shm/SHM_RND.h5
-rw-r--r--src/sys/shm/ipc.ref3
-rw-r--r--src/sys/shm/key_t.ref3
-rw-r--r--src/sys/shm/pid_t.ref3
-rw-r--r--src/sys/shm/shmat.c10
-rw-r--r--src/sys/shm/shmatt_t.h5
-rw-r--r--src/sys/shm/shmctl.c10
-rw-r--r--src/sys/shm/shmdt.c10
-rw-r--r--src/sys/shm/shmget.c10
-rw-r--r--src/sys/shm/size_t.ref3
-rw-r--r--src/sys/shm/struct_shmid_ds.h16
-rw-r--r--src/sys/shm/time_t.ref3
14 files changed, 0 insertions, 91 deletions
diff --git a/src/sys/shm/SHMLBA.h b/src/sys/shm/SHMLBA.h
deleted file mode 100644
index e04ce941..00000000
--- a/src/sys/shm/SHMLBA.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <sys/shm.h>
-#define SHMLBA 3
-/*
-XOPEN(4)
-*/
diff --git a/src/sys/shm/SHM_RDONLY.h b/src/sys/shm/SHM_RDONLY.h
deleted file mode 100644
index bc1e9989..00000000
--- a/src/sys/shm/SHM_RDONLY.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <sys/shm.h>
-#define SHM_RDONLY 1
-/*
-XOPEN(4)
-*/
diff --git a/src/sys/shm/SHM_RND.h b/src/sys/shm/SHM_RND.h
deleted file mode 100644
index 05ef86ec..00000000
--- a/src/sys/shm/SHM_RND.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <sys/shm.h>
-#define SHM_RND 2
-/*
-XOPEN(4)
-*/
diff --git a/src/sys/shm/ipc.ref b/src/sys/shm/ipc.ref
deleted file mode 100644
index 5f02b173..00000000
--- a/src/sys/shm/ipc.ref
+++ /dev/null
@@ -1,3 +0,0 @@
-#include <sys/shm.h>
-REFERENCE(<sys/ipc.h>)
-XOPEN(4)
diff --git a/src/sys/shm/key_t.ref b/src/sys/shm/key_t.ref
deleted file mode 100644
index 10517109..00000000
--- a/src/sys/shm/key_t.ref
+++ /dev/null
@@ -1,3 +0,0 @@
-#include <sys/shm.h>
-REFERENCE(sys/types/key_t.c)
-XOPEN(4)
diff --git a/src/sys/shm/pid_t.ref b/src/sys/shm/pid_t.ref
deleted file mode 100644
index 331c734f..00000000
--- a/src/sys/shm/pid_t.ref
+++ /dev/null
@@ -1,3 +0,0 @@
-#include <sys/shm.h>
-REFERENCE(sys/types/pid_t.c)
-XOPEN(4)
diff --git a/src/sys/shm/shmat.c b/src/sys/shm/shmat.c
deleted file mode 100644
index 0cee4898..00000000
--- a/src/sys/shm/shmat.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <sys/shm.h>
-
-void * shmat(int shmid, const void *shmaddr, int shmflg)
-{
- return (void*)shmaddr;
-}
-
-/*
-XOPEN(4)
-*/
diff --git a/src/sys/shm/shmatt_t.h b/src/sys/shm/shmatt_t.h
deleted file mode 100644
index f6065dd0..00000000
--- a/src/sys/shm/shmatt_t.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <sys/shm.h>
-typedef unsigned short shmatt_t;
-/*
-XOPEN(4)
-*/
diff --git a/src/sys/shm/shmctl.c b/src/sys/shm/shmctl.c
deleted file mode 100644
index 181f0c4c..00000000
--- a/src/sys/shm/shmctl.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <sys/shm.h>
-
-int shmctl(int shmid, int cmd, struct shmid_ds *buf)
-{
- return 0;
-}
-
-/*
-XOPEN(4)
-*/
diff --git a/src/sys/shm/shmdt.c b/src/sys/shm/shmdt.c
deleted file mode 100644
index e90ccc5c..00000000
--- a/src/sys/shm/shmdt.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <sys/shm.h>
-
-int shmdt(const void *shmaddr)
-{
- return 0;
-}
-
-/*
-XOPEN(4)
-*/
diff --git a/src/sys/shm/shmget.c b/src/sys/shm/shmget.c
deleted file mode 100644
index 3911dc51..00000000
--- a/src/sys/shm/shmget.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <sys/shm.h>
-
-int shmget(key_t key, size_t size, int shmflg)
-{
- return 0;
-}
-
-/*
-XOPEN(4)
-*/
diff --git a/src/sys/shm/size_t.ref b/src/sys/shm/size_t.ref
deleted file mode 100644
index 86221508..00000000
--- a/src/sys/shm/size_t.ref
+++ /dev/null
@@ -1,3 +0,0 @@
-#include <sys/shm.h>
-REFERENCE(stddef/size_t.c)
-XOPEN(4)
diff --git a/src/sys/shm/struct_shmid_ds.h b/src/sys/shm/struct_shmid_ds.h
deleted file mode 100644
index cb030d41..00000000
--- a/src/sys/shm/struct_shmid_ds.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <sys/shm.h>
-
-struct shmid_ds {
- struct ipc_perm shm_perm;
- size_t shm_segsz;
- pid_t shm_lpid;
- pid_t shm_cpid;
- shmatt_t shm_nattach;
- time_t shm_atime;
- time_t shm_dtime;
- time_t shm_ctime;
-};
-
-/*
-XOPEN(4)
-*/
diff --git a/src/sys/shm/time_t.ref b/src/sys/shm/time_t.ref
deleted file mode 100644
index 3139e369..00000000
--- a/src/sys/shm/time_t.ref
+++ /dev/null
@@ -1,3 +0,0 @@
-#include <sys/shm.h>
-REFERENCE(time/time_t.c)
-XOPEN(4)