From 967866f4d7d2ad550836368d40f360c26e82c758 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 12 Apr 2000 04:55:36 +0000 Subject: Add prototypes for shm_open and shm_unlink. --- misc/sys/mman.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'misc') 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 */ -- cgit v1.2.3