144630Smckusick /* 244630Smckusick * Copyright (c) 1989 Jan-Simon Pendry 344630Smckusick * Copyright (c) 1989 Imperial College of Science, Technology & Medicine 4*61785Sbostic * Copyright (c) 1989, 1993 5*61785Sbostic * The Regents of the University of California. All rights reserved. 644630Smckusick * 744630Smckusick * This code is derived from software contributed to Berkeley by 844630Smckusick * Jan-Simon Pendry at Imperial College, London. 944630Smckusick * 1044630Smckusick * %sccs.include.redist.c% 1144630Smckusick * 12*61785Sbostic * @(#)os-aux.h 8.1 (Berkeley) 06/06/93 1349685Spendry * 1452452Spendry * $Id: os-aux.h,v 5.2.2.1 1992/02/09 15:10:10 jsp beta $ 1549685Spendry * 1649685Spendry * A/UX macII definitions for Amd (automounter) 1749685Spendry * Contributed by Julian Onions <jpo@cs.nott.ac.uk> 1844630Smckusick */ 1944630Smckusick 2044630Smckusick /* 2144630Smckusick * Does the compiler grok void * 2244630Smckusick */ 2344630Smckusick #define VOIDP 2444630Smckusick 2544630Smckusick /* 2644630Smckusick * Which version of the Sun RPC library we are using 2744630Smckusick * This is the implementation release number, not 2844630Smckusick * the protocol revision number. 2944630Smckusick */ 3044630Smckusick #define RPC_3 3144630Smckusick 3244630Smckusick /* 3344630Smckusick * Which version of the NFS interface are we using. 3444630Smckusick * This is the implementation release number, not 3544630Smckusick * the protocol revision number. 3644630Smckusick */ 3744630Smckusick #define NFS_3 3844630Smckusick 3944630Smckusick /* 4044630Smckusick * Byte ordering 4144630Smckusick */ 4244630Smckusick #undef ARCH_ENDIAN 4344630Smckusick #define ARCH_ENDIAN "big" 4444630Smckusick 4544630Smckusick /* 4644630Smckusick * No support for ndbm 4744630Smckusick */ 4844630Smckusick #undef OS_HAS_NDBM 4944630Smckusick 5044630Smckusick /* 5144630Smckusick * Name of filesystem types 5244630Smckusick */ 5344630Smckusick #define MOUNT_TYPE_UFS MOUNT_UFS 5444630Smckusick #define MOUNT_TYPE_NFS MOUNT_NFS 5544630Smckusick 5644630Smckusick #undef MTAB_TYPE_UFS 5744630Smckusick #define MTAB_TYPE_UFS "5.2" 5844630Smckusick 5944630Smckusick #define SIGCHLD SIGCLD 6044630Smckusick #define SYS5_SIGNALS 6144630Smckusick 6244630Smckusick /* 6344630Smckusick * Use <fcntl.h> rather than <sys/file.h> 6444630Smckusick */ 6544630Smckusick #define USE_FCNTL 6644630Smckusick 6744630Smckusick /* 6844630Smckusick * Use fcntl() rather than flock() 6944630Smckusick */ 7044630Smckusick #define LOCK_FCNTL 7144630Smckusick 7244630Smckusick #ifdef __GNUC__ 7344630Smckusick #define alloca(sz) __builtin_alloca(sz) 7444630Smckusick #endif 7544630Smckusick 7644630Smckusick #define bzero(ptr, len) memset(ptr, 0, len) 7744630Smckusick #define bcopy(from, to, len) memcpy(to, from, len) 7844630Smckusick #define getpagesize() (2048) 7944630Smckusick #undef MOUNT_TRAP 8044630Smckusick #define MOUNT_TRAP(type, mnt, flags, mnt_data) \ 8144630Smckusick fsmount(type, mnt->mnt_dir, flags, mnt_data) 8244630Smckusick #undef UNMOUNT_TRAP 8344630Smckusick #define UNMOUNT_TRAP(mnt) unmount(mnt->mnt_dir) 8444630Smckusick #define NFDS 30 /* conservative */ 8544630Smckusick 8644630Smckusick /* not included in sys/param.h */ 8744630Smckusick #include <sys/types.h> 8844630Smckusick /* not part of sys/time.h */ 8944630Smckusick #include <time.h> 9044630Smckusick /* for NMOUNT */ 9144630Smckusick #include <sys/config.h> 92