1 /* $NetBSD: rmt.h,v 1.2 1996/08/09 03:59:40 jtc Exp $ */ 2 3 /* 4 * rmt.h 5 * 6 * Added routines to replace open(), close(), lseek(), ioctl(), etc. 7 * The preprocessor can be used to remap these the rmtopen(), etc 8 * thus minimizing source changes. 9 * 10 * This file must be included before <sys/stat.h>, since it redefines 11 * stat to be rmtstat, so that struct stat xyzzy; declarations work 12 * properly. 13 * 14 * -- Fred Fish (w/some changes by Arnold Robbins) 15 */ 16 17 #ifndef _RMT_H_ 18 #define _RMT_H_ 19 20 #define access rmtaccess 21 #define close rmtclose 22 #define creat rmtcreat 23 #define dup rmtdup 24 #define fcntl rmtfcntl 25 #define fstat rmtfstat 26 #define ioctl rmtioctl 27 #define isatty rmtisatty 28 #define lseek rmtlseek 29 #define lstat rmtlstat 30 #define open rmtopen 31 #define read rmtread 32 #define stat rmtstat 33 #define write rmtwrite 34 35 #endif /* _RMT_H_ */ 36