pike.git / src / modules / _Stdio / file.c

version» Context lines:

pike.git/src/modules/_Stdio/file.c:119:   #define THIS ((struct my_file *)(Pike_fp->current_storage))   #define FD (THIS->box.fd)   #define ERRNO (THIS->my_errno)      #define READ_BUFFER 8192   #define DIRECT_BUFSIZE (64*1024)   #define SMALL_NETBUF 2048   #define INUSE_BUSYWAIT_DELAY 0.01   #define INUSE_TIMEOUT 0.1    - /* Don't try to use socketpair() on AmigaOS, socketpair_ultra works better */ - #ifdef __amigaos__ - #undef HAVE_SOCKETPAIR - #endif -  +    #ifdef UNIX_SOCKETS_WORK_WITH_SHUTDOWN   #undef UNIX_SOCKET_CAPABILITIES   #define UNIX_SOCKET_CAPABILITIES (fd_INTERPROCESSABLE | fd_BIDIRECTIONAL | fd_CAN_NONBLOCK | fd_CAN_SHUTDOWN | fd_SEND_FD)   #endif      #ifndef HAVE_DIRFD   #ifdef HAVE_DIR_DD_FD   #define dirfd(dir__) (((DIR*)dir__)->dd_fd)   #define HAVE_DIRFD   #elif defined(HAVE_DIR_D_FD)