about summary refs log tree commit diff
path: root/arch/ppc/bits/shm.h
diff options
context:
space:
mode:
authorRichard Pennington <rich@pennware.com>2012-11-09 23:32:57 +0100
committerrofl0r <retnyg@gmx.net>2012-11-13 18:15:10 +0100
commit7669d1e334e6b96455eece78da43bf830b93d697 (patch)
tree6649acfaa61ec6780498b55fa8015ca4f7a6cdae /arch/ppc/bits/shm.h
parent1e717ea3d2a864e00e507f1a70a892c551955f1b (diff)
downloadmusl-7669d1e334e6b96455eece78da43bf830b93d697.tar.gz
musl-7669d1e334e6b96455eece78da43bf830b93d697.tar.xz
musl-7669d1e334e6b96455eece78da43bf830b93d697.zip
import preliminary ppc work by rdp.
Diffstat (limited to 'arch/ppc/bits/shm.h')
-rw-r--r--arch/ppc/bits/shm.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/ppc/bits/shm.h b/arch/ppc/bits/shm.h
new file mode 100644
index 00000000..8807c4fb
--- /dev/null
+++ b/arch/ppc/bits/shm.h
@@ -0,0 +1,18 @@
+#define SHMLBA 4096
+
+struct shmid_ds
+{
+	struct ipc_perm shm_perm;
+	size_t shm_segsz;
+	time_t shm_atime;
+	int __unused1;
+	time_t shm_dtime;
+	int __unused2;
+	time_t shm_ctime;
+	int __unused3;
+	pid_t shm_cpid;
+	pid_t shm_lpid;
+	unsigned long shm_nattch;
+	unsigned long __pad1;
+	unsigned long __pad2;
+};