AUX, signal, and sigvec

Matthias Urlichs urlichs at smurf.sub.org
Mon May 6 04:33:15 AEST 1991


In comp.unix.aux, article <1991May5.192732.3868 at noao.edu>,
  tody at noao.edu (Doug Tody NOAO/IRAF CCS) writes:
< 
< By chance I had much the same problem the other day...  Executing the
< following code during process startup made the problem go away (sigvec is
< a BSD system call):
< 
< 	#include <compat.h>
< 	setcompat (COMPAT_BSD);
< 
< The tells the kernel to use BSD semantics for the A/UX system calls, instead
< of SVID, which is the default (actually the call shown affects more than
< just the signal stuff, but that is probably what you want if you are porting
< from a Sun).

Or even easier, just link with -lbsd.

-- 
Matthias Urlichs -- urlichs at smurf.sub.org -- urlichs at smurf.ira.uka.de     /(o\
Humboldtstrasse 7 - 7500 Karlsruhe 1 - FRG -- +49-721-621127(0700-2330)   \o)/



More information about the Comp.unix.aux mailing list