* sig_t strangely defined?
@ 2000-08-01 4:00 Peter 'Luna' Runestig
0 siblings, 0 replies; only message in thread
From: Peter 'Luna' Runestig @ 2000-08-01 4:00 UTC (permalink / raw)
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ån Charons mörka sund
dödens blund / i dina blickar / bådar snart din sista stund.
Carl Michael Bellman, Fredmans epistel nr 34
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-08-01 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-01 4:00 sig_t strangely defined? Peter 'Luna' Runestig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox