Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Peter 'Luna' Runestig <peter+newspost@runestig.com>
Subject: sig_t strangely defined?
Date: 2000/08/01	[thread overview]
Message-ID: <39869C0A.F860473D@runestig.com> (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



                 reply	other threads:[~2000-08-01  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox