From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa528,bc7dd73125a4a9d2,start X-Google-Attributes: gidfa528,public From: Peter 'Luna' Runestig Subject: sig_t strangely defined? Date: 2000/08/01 Message-ID: <39869C0A.F860473D@runestig.com>#1/1 X-Deja-AN: 653148749 Content-Transfer-Encoding: quoted-printable Organization: http://extra.newsguy.com X-Accept-Language: en Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 Newsgroups: comp.unix.tru64 Hi all, I'm in the work of porting a Linux/OpenBSD application to Tru64. There are some porting issues there... ;-) This perticular one seems odd to me; this definition of the sig_t type: #ifndef _KERNEL typedef void (*sig_t) __((int,void (*)(int))); #else typedef void (*sig_t) __((int)); #endif Now, I don't know how the Tru64 kernel wants sig_t, but shouldn't it be the other way around? Both Linux and *BSD has the "typedef void (*sig_t) __((int));" definition. If sig_t isn't the type of the signal handler function, what is it supposed to be? TIA, Peter -- = Peter "Luna" Runestig (fd. Altberg), Sweden PGP Key ID: 0xD07BBE13 Fingerprint: 7B5C 1F48 2997 C061 DE4B 42EA CB99 A35C D07B BE13 Gubben Movitz ler och nickar, / men fr=E5n Charons m=F6rka sund d=F6dens blund / i dina blickar / b=E5dar snart din sista stund. Carl Michael Bellman, Fredmans epistel nr 34