1993-08-26 19:26:18 +04:00
|
|
|
#if defined(LIBC_SCCS) && !defined(lint)
|
1994-05-29 04:35:59 +04:00
|
|
|
static char *rcsid = "$Id: shmdt.c,v 1.5 1994/05/29 00:36:06 hpeyerl Exp $";
|
1993-08-26 19:26:18 +04:00
|
|
|
#endif /* LIBC_SCCS and not lint */
|
|
|
|
|
1993-08-25 06:50:51 +04:00
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/ipc.h>
|
|
|
|
#include <sys/shm.h>
|
|
|
|
|
|
|
|
#if __STDC__
|
1994-05-29 04:35:59 +04:00
|
|
|
int shmdt(void *shmaddr)
|
1993-08-25 06:50:51 +04:00
|
|
|
#else
|
1994-05-29 04:35:59 +04:00
|
|
|
int shmdt(shmaddr)
|
|
|
|
void *shmaddr;
|
1993-08-25 06:50:51 +04:00
|
|
|
#endif
|
|
|
|
{
|
1994-05-29 04:35:59 +04:00
|
|
|
return (shmsys(2, shmaddr));
|
1993-08-25 06:50:51 +04:00
|
|
|
}
|