1130b656e5
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
20 lines
372 B
C
20 lines
372 B
C
#if defined(LIBC_SCCS) && !defined(lint)
|
|
static char *rcsid = "$FreeBSD$";
|
|
#endif /* LIBC_SCCS and not lint */
|
|
|
|
#include <sys/types.h>
|
|
#include <sys/ipc.h>
|
|
#include <sys/shm.h>
|
|
|
|
#if __STDC__
|
|
int shmctl(int shmid, int cmd, struct shmid_ds *buf)
|
|
#else
|
|
int shmctl(shmid, cmd, buf)
|
|
int shmid;
|
|
int cmd;
|
|
struct shmid_ds *buf;
|
|
#endif
|
|
{
|
|
return (shmsys(4, shmid, cmd, buf));
|
|
}
|