diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-04-12 04:55:36 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-04-12 04:55:36 +0000 |
commit | 967866f4d7d2ad550836368d40f360c26e82c758 (patch) | |
tree | 999ab5a3e434b3b8d984194630e8fa9acf446ac3 /misc/sys | |
parent | 2a086df9ddfdd925cf81b67859bab5d882a3d8fb (diff) | |
download | glibc-967866f4d7d2ad550836368d40f360c26e82c758.zip glibc-967866f4d7d2ad550836368d40f360c26e82c758.tar.gz glibc-967866f4d7d2ad550836368d40f360c26e82c758.tar.bz2 |
Add prototypes for shm_open and shm_unlink.
Diffstat (limited to 'misc/sys')
-rw-r--r-- | misc/sys/mman.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/sys/mman.h b/misc/sys/mman.h index 5b53cd2..b86ba5e 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 */ |