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

version» Context lines:

pike.git/src/modules/_Stdio/file.c:3903:    *! @value 0x4000    *! @[FILE_APPEND]    *! @value 0x8000    *! @[FILE_CREATE]    *! @value 0x0100    *! @[FILE_TRUNC]    *! @value 0x0200    *! @[FILE_EXCLUSIVE]    *! @value 0x0400    *! @[FILE_NONBLOCKING] +  *! @value 0x0080 +  *! @[PROP_TTY]    *! @value 0x0040    *! @[PROP_SEND_FD]    *! @value 0x0010    *! @[PROP_BIDIRECTIONAL]    *! @value 0x0008    *! @[PROP_BUFFERED]    *! @value 0x0004    *! @[PROP_SHUTDOWN]    *! @value 0x0002    *! @[PROP_NONBLOCK]
pike.git/src/modules/_Stdio/file.c:5992:    *    * @note    * Available on systems that use kqueue.    */         /*! @decl constant PROP_TTY = 128    *!    *! The @[Stdio.File] object supports tty operations.    *! +  *! @note +  *! This constant is only present on platforms where pseudo tty +  *! (aka pty) operations are available, and may thus be used to +  *! detect whether such operations should be attempted. +  *!    *! @seealso    *! @[Stdio.File()->pipe()]    */      /*! @decl constant PROP_SEND_FD = 64    *!    *! The @[Stdio.File] object might support the @[Stdio.File()->send_fd()]    *! operation.    *!    *! @seealso
pike.git/src/modules/_Stdio/file.c:6417:   #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) { +  if (Pike_NT_CreatePseudoConsole) {    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(). */