freebsd-nq/lib/libc/gen/shmdt.c

17 lines
233 B
C
Raw Normal View History

2002-02-01 00:57:29 +00:00
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
1994-09-13 14:52:45 +00:00
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#if __STDC__
int shmdt(void *shmaddr)
#else
int shmdt(shmaddr)
void *shmaddr;
#endif
{
return (shmsys(2, shmaddr));
}