1: /*
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) 5/29/85
7: */
8:
9: #define LOGFILE "/usr/games/lib/saillog" /* has to match the makefile */
10:
11: #define TIMEOUT 300 /* Sync() timeout in seconds */
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)
18: typedef int void;
19: #define blockalarm() ((void) sighold(SIGALRM))
20: #define unblockalarm() ((void) sigrelse(SIGALRM))
21: */
Defined macros
Usage of this include