Subject: Re: Function protos for shm.h funcs
To: Charles Hannum <mycroft@duality.gnu.ai.mit.edu>
From: John Brezak <brezak@apollo.hp.com>
List: current-users
Date: 11/18/1993 14:34:11
>
>
> I think there are some errors in the function prototypes for the
> shm*() functions.
>
> Actually, I had changed those to:
>
> ! 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) ?
>
> in the magnum branch.
>
> This is compatible with my (old) copy of SVID.
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
John Brezak UUCP: uunet!apollo.hp!brezak
Hewlett Packard/Apollo Internet: brezak@ch.hp.com
300 Apollo Drive Phone: (508) 436-4915
Chelmsford, Massachusetts Fax: (508) 436-5103
------------------------------------------------------------------------------