🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.sources.games
Article #750

'Nother ATC Fix - sigmask

#750
From: Ed James
Date: Fri, 09 Jan 1987 23:08
12 lines
1032 bytes
On 4.3, this can be found in /usr/include/sys/signal.h:

	#define sigmask(m)	(1 << ((m)-1))

On 4.2, and early 4.3 BSD systems, this will not be defined.  It might
be in the man signal page, but they expected you to define it yourself.

In any event, if you get a 'undefined: _sigmask' error compiling 
ATC, just put this macro in update.c (I think).  Yes, sigsetmask does
a similar function, but I bet that's undefined in early 4.2 systems
as well.
								--ed
Technical Details
Message-ID: <1211@ucbcad.berkeley.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!ucbcad!ic.Berkeley.EDU!edjames

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!ucbcad!ic.Berkeley.EDU!edjames
From: edjames@ic.Berkeley.EDU (Ed James)
Newsgroups: net.sources.games
Subject: 'Nother ATC Fix - sigmask
Message-ID: <1211@ucbcad.berkeley.edu>
Date: Fri, 9-Jan-87 18:08:27 EST
Article-I.D.: ucbcad.1211
Posted: Fri Jan  9 18:08:27 1987
Date-Received: Sat, 10-Jan-87 02:06:40 EST
Sender: news@ucbcad.berkeley.edu
Reply-To: edjames@ic.berkeley.edu (Ed James)
Organization: University of California, Berkeley
Lines: 12