Subject: Re: Function protos for shm.h funcs
To: None <mycroft@duality.gnu.ai.mit.edu, brezak@apollo.hp.com>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: current-users
Date: 11/18/1993 21:07:53
> > ! void *shmsys __P((int, ...));
> > ! int shmat  __P((int, void *, int));
> >   int shmget __P((key_t, int, int));
> > ! int shmctl __P((int, int, void *));
> > ! int shmdt  __P((void *));
> 
> Actually I find that shmat() should return a ptr.
> 
> void *shmat(int, void *, int) ?
> 

According to my 1990 copy of the SVR4's "Programmers Ref. Man.". it's:

	int shmctl __P((int, int, struct shmid_ds *));



------------------------------------------------------------------------------