Initial import from FreeBSD RELENG_4:
[dragonfly.git] / lib / libc / gen / shmdt.c
1 #if defined(LIBC_SCCS) && !defined(lint)
2 static char *rcsid = "$FreeBSD: src/lib/libc/gen/shmdt.c,v 1.4 1999/08/27 23:58:57 peter Exp $";
3 #endif /* LIBC_SCCS and not lint */
4
5 #include <sys/types.h>
6 #include <sys/ipc.h>
7 #include <sys/shm.h>
8
9 #if __STDC__
10 int shmdt(void *shmaddr)
11 #else
12 int shmdt(shmaddr)
13         void *shmaddr;
14 #endif
15 {
16         return (shmsys(2, shmaddr));
17 }