rework langinfo code for ABI compat and for use by time code
[musl] / include / sys / shm.h
index ce3029f..c20f033 100644 (file)
@@ -16,6 +16,9 @@ extern "C" {
 #include <sys/ipc.h>
 #include <bits/shm.h>
 
+#define SHM_R 0400
+#define SHM_W 0200
+
 #define SHM_RDONLY 010000
 #define SHM_RND    020000
 #define SHM_REMAP  040000
@@ -44,6 +47,8 @@ struct shm_info {
 #endif
 };
 
+typedef unsigned long shmatt_t;
+
 void *shmat(int, const void *, int);
 int shmctl(int, int, struct shmid_ds *);
 int shmdt(const void *);