pike.git / src / modules / Pipe / pipe.c

version» Context lines:

pike.git/src/modules/Pipe/pipe.c:1:   #include "config.h"   #include "machine.h"      #include <sys/types.h>   #include <sys/stat.h>    + #ifdef HAVE_SYS_FILE_H + #include <sys/file.h> + #endif /* HAVE_SYS_FILE_H */ +    #include <errno.h>      #ifdef HAVE_SYS_MMAN_H   #include <sys/mman.h>   #else   #ifdef HAVE_LINUX_MMAN_H   #include <linux/mman.h>   #else   #ifdef HAVE_MMAP   /* sys/mman.h is _probably_ there anyway. */   #include <sys/mman.h>   #endif   #endif   #endif      #include <fcntl.h>      #include "global.h" - RCSID("$Id: pipe.c,v 1.22 1998/05/17 18:37:12 grubba Exp $"); + RCSID("$Id: pipe.c,v 1.23 1998/05/17 18:53:03 grubba Exp $");      #include "threads.h"   #include "stralloc.h"   #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "interpret.h"   #include "svalue.h"   #include "error.h"   #include "builtin_functions.h"
pike.git/src/modules/Pipe/pipe.c:43:   #endif      /*   #define PIPE_STRING_DEBUG   #define PIPE_MMAP_DEBUG   #define PIPE_FILE_DEBUG   #define BLOCKING_CLOSE   */      #ifndef SEEK_SET + #ifdef L_SET + #define SEEK_SET L_SET + #else /* !L_SET */   #define SEEK_SET 0 -  + #endif /* L_SET */   #endif /* SEEK_SET */   #ifndef SEEK_CUR -  + #ifdef L_INCR + #define SEEK_SET L_INCR + #else /* !L_INCR */   #define SEEK_CUR 1 -  + #endif /* L_INCR */   #endif /* SEEK_CUR */   #ifndef SEEK_END -  + #ifdef L_XTND + #define SEEK_END L_XTND + #else /* !L_XTND */   #define SEEK_END 2 -  + #endif /* L_XTND */   #endif /* SEEK_END */         #if 0   #define INSISTANT_WRITE   #endif      #ifndef MAP_FILE   # define MAP_FILE 0   #endif