Annotation of 43BSDReno/games/atc/include.h, revision 1.1.1.1

1.1       root        1: /*-
                      2:  * Copyright (c) 1990 The Regents of the University of California.
                      3:  * All rights reserved.
                      4:  *
                      5:  * This code is derived from software contributed to Berkeley by
                      6:  * Ed James.
                      7:  *
                      8:  * Redistribution and use in source and binary forms are permitted
                      9:  * provided that: (1) source distributions retain this entire copyright
                     10:  * notice and comment, and (2) distributions including binaries display
                     11:  * the following acknowledgement:  ``This product includes software
                     12:  * developed by the University of California, Berkeley and its contributors''
                     13:  * in the documentation or other materials provided with the distribution
                     14:  * and in all advertising materials mentioning features or use of this
                     15:  * software. Neither the name of the University nor the names of its
                     16:  * contributors may be used to endorse or promote products derived
                     17:  * from this software without specific prior written permission.
                     18:  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
                     19:  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
                     20:  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     21:  *
                     22:  *     @(#)include.h   5.3 (Berkeley) 4/30/90
                     23:  */
                     24: 
                     25: /*
                     26:  * Copyright (c) 1987 by Ed James, UC Berkeley.  All rights reserved.
                     27:  *
                     28:  * Copy permission is hereby granted provided that this notice is
                     29:  * retained on all partial or complete copies.
                     30:  *
                     31:  * For more info on this and all of my stuff, mail [email protected].
                     32:  */
                     33: 
                     34: #include <stdio.h>
                     35: #include <ctype.h>
                     36: #include <sys/types.h>
                     37: #include <pwd.h>
                     38: 
                     39: #ifdef BSD
                     40: #include <sgtty.h>
                     41: #include <sys/time.h>
                     42: #include <sys/file.h>
                     43: #endif
                     44: 
                     45: #ifdef SYSV
                     46: #include <fcntl.h>
                     47: #include <unistd.h>
                     48: #include <string.h>
                     49: #include <sys/utsname.h>
                     50: #endif
                     51: 
                     52: #include <signal.h>
                     53: #include <math.h>
                     54: 
                     55: #include <curses.h>
                     56: 
                     57: #ifdef SYSV
                     58: #define        index   strchr
                     59: #define        rindex  strrchr
                     60: #define bcopy(a,b,c)   memcpy((b), (a), (c))
                     61: #define        bzero(a,b)      memset((a), '\0', (b))
                     62: #define        srandom srand
                     63: #define        random  rand
                     64: #define        sgttyb  termio
                     65: #define        sg_erase c_cc[2]
                     66: #define        sg_kill c_cc[3]
                     67: #endif
                     68: 
                     69: #include "def.h"
                     70: #include "struct.h"
                     71: #include "extern.h"
                     72: #include "tunable.h"

unix.superglobalmegacorp.com

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