Annotation of 43BSD/games/sail/machdep.h, revision 1.1

1.1     ! root        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: */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.