This is file.h in view mode; [Download] [Up]
#ifndef file_h #pragma once /* Some folks need system types.h for things in file.h */ #include <stddef.h> #include <sys/types.h> extern "C" { #define open c_proto_open #define fcntl c_proto_fcntl #if defined(ultrix) || defined(sun) #define KERNEL #endif #ifdef VMS #include "GNU_CC_INCLUDE:[sys]file.h" #else #include "//usr/include/bsd/sys/file.h" #endif /* try to guess whether file.h actually gave the right defs */ #if !defined(O_RDONLY) || !defined(O_CREAT) || !defined(O_EXCL) #include <sys/fcntl.h> #endif #ifndef file_h #define file_h 1 #endif #undef KERNEL #undef open #undef fcntl } #endif
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.