aboutsummaryrefslogtreecommitdiff
path: root/misc/sys
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-12 04:55:36 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-12 04:55:36 +0000
commit967866f4d7d2ad550836368d40f360c26e82c758 (patch)
tree999ab5a3e434b3b8d984194630e8fa9acf446ac3 /misc/sys
parent2a086df9ddfdd925cf81b67859bab5d882a3d8fb (diff)
downloadglibc-967866f4d7d2ad550836368d40f360c26e82c758.tar
glibc-967866f4d7d2ad550836368d40f360c26e82c758.tar.gz
glibc-967866f4d7d2ad550836368d40f360c26e82c758.tar.bz2
glibc-967866f4d7d2ad550836368d40f360c26e82c758.zip
Add prototypes for shm_open and shm_unlink.
Diffstat (limited to 'misc/sys')
-rw-r--r--misc/sys/mman.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/sys/mman.h b/misc/sys/mman.h
index 5b53cd2133..b86ba5e083 100644
--- a/misc/sys/mman.h
+++ b/misc/sys/mman.h
@@ -123,6 +123,13 @@ extern void *mremap (void *__addr, size_t __old_len, size_t __new_len,
extern int mincore (void *__start, size_t __len, unsigned char *__vec);
#endif
+
+/* Open shared memory segment. */
+extern int shm_open (__const char *__name, int __oflag, mode_t __mode);
+
+/* Remove shared memory segment. */
+extern int shm_unlink (__const char *__name);
+
__END_DECLS
#endif /* sys/mman.h */