Add copyright
[unix-history] / usr / src / games / sail / machdep.h
CommitLineData
cca8f52e 1/*
1e008c14
DF
2 * Copyright (c) 1983 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 *
6 * @(#)machdep.h 5.1 (Berkeley) %G%
cca8f52e 7 */
cca8f52e 8
ba28d9ed 9#define LOGFILE "/usr/games/lib/saillog" /* has to match the makefile */
44c566e8 10
ba28d9ed 11#define TIMEOUT 300 /* Sync() timeout in seconds */
0022de6e
EW
12
13/* for 4.2bsd machines */
14#define blockalarm() ((void) sigblock(1 << SIGALRM-1))
15#define unblockalarm() ((void) sigsetmask(sigblock(0) & ~(1 << SIGALRM-1)))
16
17/* for 2.9bsd machines (onyx)
18typedef int void;
19#define blockalarm() ((void) sighold(SIGALRM))
20#define unblockalarm() ((void) sigrelse(SIGALRM))
21*/