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

version» Context lines:

pike.git/src/modules/_Stdio/file.c:6416:    add_integer_constant("XATTR_REPLACE", XATTR_REPLACE, 0 );   #endif    add_integer_constant("PROP_IPC",fd_INTERPROCESSABLE,0);    add_integer_constant("PROP_NONBLOCK",fd_CAN_NONBLOCK,0);    add_integer_constant("PROP_SEND_FD",fd_SEND_FD,0);    add_integer_constant("PROP_SHUTDOWN",fd_CAN_SHUTDOWN,0);    add_integer_constant("PROP_BUFFERED",fd_BUFFERED,0);    add_integer_constant("PROP_BIDIRECTIONAL",fd_BIDIRECTIONAL,0);    add_integer_constant("PROP_REVERSE",fd_REVERSE,0);   #ifdef HAVE_OPENPTY + #ifdef __NT__ +  if (Pike_NT_OpenPseudoConsole) {    add_integer_constant("PROP_TTY",fd_TTY,0); -  +  } + #else +  add_integer_constant("PROP_TTY",fd_TTY,0);   #endif -  + #endif       add_integer_constant("PROP_IS_NONBLOCKING", FILE_NONBLOCKING, 0);       /* seek modes. These are strings to keep compatibility in seek(). */    {    static char seek_how[] = {    SEEK_CUR,0,    SEEK_SET,0,    SEEK_END,0   #ifdef SEEK_DATA