|
|
1.1 ! root 1: /* $Id: os-aux.h,v 5.2 90/06/23 22:20:37 jsp Rel $ */ ! 2: ! 3: /* ! 4: * A/UX macII definitions for Amd (automounter) ! 5: * Contributed by Julian Onions <[email protected]> ! 6: * ! 7: * Copyright (c) 1989 Jan-Simon Pendry ! 8: * Copyright (c) 1989 Imperial College of Science, Technology & Medicine ! 9: * Copyright (c) 1989 The Regents of the University of California. ! 10: * All rights reserved. ! 11: * ! 12: * This code is derived from software contributed to Berkeley by ! 13: * Jan-Simon Pendry at Imperial College, London. ! 14: * ! 15: * Redistribution and use in source and binary forms are permitted provided ! 16: * that: (1) source distributions retain this entire copyright notice and ! 17: * comment, and (2) distributions including binaries display the following ! 18: * acknowledgement: ``This product includes software developed by the ! 19: * University of California, Berkeley and its contributors'' in the ! 20: * documentation or other materials provided with the distribution and in ! 21: * all advertising materials mentioning features or use of this software. ! 22: * Neither the name of the University nor the names of its contributors may ! 23: * be used to endorse or promote products derived from this software without ! 24: * specific prior written permission. ! 25: * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED ! 26: * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF ! 27: * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 28: * ! 29: * @(#)os-aux.h 5.1 (Berkeley) 6/29/90 ! 30: */ ! 31: ! 32: /* ! 33: * Does the compiler grok void * ! 34: */ ! 35: #define VOIDP ! 36: ! 37: /* ! 38: * Which version of the Sun RPC library we are using ! 39: * This is the implementation release number, not ! 40: * the protocol revision number. ! 41: */ ! 42: #define RPC_3 ! 43: ! 44: /* ! 45: * Which version of the NFS interface are we using. ! 46: * This is the implementation release number, not ! 47: * the protocol revision number. ! 48: */ ! 49: #define NFS_3 ! 50: ! 51: /* ! 52: * Byte ordering ! 53: */ ! 54: #undef ARCH_ENDIAN ! 55: #define ARCH_ENDIAN "big" ! 56: ! 57: /* ! 58: * Has support for syslog() ! 59: */ ! 60: #define HAS_SYSLOG ! 61: ! 62: /* ! 63: * No support for ndbm ! 64: */ ! 65: #undef OS_HAS_NDBM ! 66: ! 67: /* ! 68: * Name of filesystem types ! 69: */ ! 70: #define MOUNT_TYPE_UFS MOUNT_UFS ! 71: #define MOUNT_TYPE_NFS MOUNT_NFS ! 72: ! 73: #undef MTAB_TYPE_UFS ! 74: #define MTAB_TYPE_UFS "5.2" ! 75: ! 76: #define SIGCHLD SIGCLD ! 77: #define SYS5_SIGNALS ! 78: ! 79: /* ! 80: * Use <fcntl.h> rather than <sys/file.h> ! 81: */ ! 82: #define USE_FCNTL ! 83: ! 84: /* ! 85: * Use fcntl() rather than flock() ! 86: */ ! 87: #define LOCK_FCNTL ! 88: ! 89: #ifdef __GNUC__ ! 90: #define alloca(sz) __builtin_alloca(sz) ! 91: #endif ! 92: ! 93: #define bzero(ptr, len) memset(ptr, 0, len) ! 94: #define bcopy(from, to, len) memcpy(to, from, len) ! 95: #define getpagesize() (2048) ! 96: #undef MOUNT_TRAP ! 97: #define MOUNT_TRAP(type, mnt, flags, mnt_data) \ ! 98: fsmount(type, mnt->mnt_dir, flags, mnt_data) ! 99: #undef UNMOUNT_TRAP ! 100: #define UNMOUNT_TRAP(mnt) unmount(mnt->mnt_dir) ! 101: #define NFDS 30 /* conservative */ ! 102: ! 103: /* not included in sys/param.h */ ! 104: #include <sys/types.h> ! 105: /* not part of sys/time.h */ ! 106: #include <time.h> ! 107: /* for NMOUNT */ ! 108: #include <sys/config.h>
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.