Newsgroups: comp.unix.aux
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!smurf!urlichs
From: urlichs@smurf.sub.org (Matthias Urlichs)
Subject: Re: AUX, signal, and sigvec
Message-ID: <=QF+!L_@smurf.sub.org>
Date: Mon, 06 May 1991 04:33:15    
Organization: University of Karlsruhe, FRG
References: <1497@h.cs.wvu.wvnet.edu> <1991May5.192732.3868@noao.edu>
Lines: 20

In comp.unix.aux, article <1991May5.192732.3868@noao.edu>,
  tody@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@smurf.sub.org -- urlichs@smurf.ira.uka.de     /(o\
Humboldtstrasse 7 - 7500 Karlsruhe 1 - FRG -- +49-721-621127(0700-2330)   \o)/
