Module _Stdio
- Description
Low-level I/O.
This is usually NOT the module you want. Try Stdio instead.
- See also
- Constant
IPPROTO_IP
constant_Stdio.IPPROTO_IP- Description
Used in
File.setsockopt()to set IP-level options
- Constant
IPPROTO_TCP
constant_Stdio.IPPROTO_TCP- Description
Used in
File.setsockopt()to set TCP-level options
- Constant
NOTE_ATTRIB
constantint_Stdio.NOTE_ATTRIB- Description
Used with Stdio.File()->set_fs_event_callback() to monitor for attribute changes on a file.
- Note
Available on systems that use kqueue.
- Constant
NOTE_DELETE
constantint_Stdio.NOTE_DELETE- Description
Used with Stdio.File()->set_fs_event_callback() to monitor for deletion of a file.
- Note
Available on systems that use kqueue.
- Constant
NOTE_EXTEND
constantint_Stdio.NOTE_EXTEND- Description
Used with Stdio.File()->set_fs_event_callback() to monitor for extension events on a file.
- Note
Available on systems that use kqueue.
- Constant
NOTE_LINK
constantint_Stdio.NOTE_LINK- Description
Used with Stdio.File()->set_fs_event_callback() to monitor for changes to a file's link count.
- Note
Available on systems that use kqueue.
- Constant
NOTE_RENAME
constantint_Stdio.NOTE_RENAME- Description
Used with Stdio.File()->set_fs_event_callback() to monitor for move or rename events on a file.
- Note
Available on systems that use kqueue.
- Constant
NOTE_REVOKE
constantint_Stdio.NOTE_REVOKE- Description
Used with Stdio.File()->set_fs_event_callback() to monitor for access revokation (unmount, etc).
- Note
Available on systems that use kqueue.
- Constant
NOTE_WRITE
constantint_Stdio.NOTE_WRITE- Description
Used with Stdio.File()->set_fs_event_callback() to monitor for writes to a file.
- Note
Available on systems that use kqueue.
- Constant
PROP_BIDIRECTIONAL
constantint_Stdio.PROP_BIDIRECTIONAL- Description
The file is bi-directional.
- See also
- Constant
PROP_BUFFERED
constantint_Stdio.PROP_BUFFERED- Description
The file is buffered (usually 4KB).
- See also
- Constant
PROP_IPC
constantint_Stdio.PROP_IPC- Description
The file may be used for inter process communication.
- See also
- Constant
PROP_NONBLOCK
constantint_Stdio.PROP_NONBLOCK- Description
The file supports nonblocking I/O.
- See also
- Constant
PROP_REVERSE
constantint_Stdio.PROP_REVERSE- Description
Request reversed operation.
Used as argument to Stdio.File()->pipe(), when PROP_BIDIRECTIONAL hasn't been specified, to request the direction of the resulting pipe to reversed.
- See also
- Constant
PROP_SEND_FD
constantint_Stdio.PROP_SEND_FD- Description
The Stdio.File object might support the Stdio.File()->send_fd() operation.
- See also
Stdio.File()->pipe(), Stdio.File()->send_fd(),
Stdio.File()->receive_fd()
- Constant
PROP_SHUTDOWN
constantint_Stdio.PROP_SHUTDOWN- Description
The file supports shutting down transmission in either direction.
- See also
- Constant
PROP_TTY
constantint_Stdio.PROP_TTY- Description
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.
- See also
- Constant
SOL_SOCKET
constant_Stdio.SOL_SOCKET- Description
Used in
File.setsockopt()to set socket-level options
- Constant
SO_KEEPALIVE
constant_Stdio.SO_KEEPALIVE- Description
Used in
File.setsockopt()to control TCP/IP keep-alive packets.
- Constant
TCP_NODELAY
constant_Stdio.TCP_NODELAY- Description
Used in
File.setsockopt()to control Nagle's Algorithm.
- Constant
XATTR_CREATE
constant_Stdio.XATTR_CREATE- Description
Used by setxattr function and method to signify a pure create, which will fail if the attribute already exists.
- Constant
XATTR_REPLACE
constant_Stdio.XATTR_REPLACE- Description
Used by setxattr function and method to signify a replace, which will fail the the attribute does not already exists.
- Constant
__HAVE_CONCURRENT_CLOSE__
constant_Stdio.__HAVE_CONCURRENT_CLOSE__- Description
Support concurrent closing of files while other blocking operations (eg Stdio.File->read() or
Stdio.File()->write()) are active in other threads. This is typically used to implement timeout recovery.- Note
Support for concurrent closing of files is present in Pike 8.0.1950, Pike 9.0.11 and later on most non-NT platforms.
- See also
- Constant
__HAVE_OOB__
constant_Stdio.__HAVE_OOB__- Description
Exists and has the value 1 if OOB operations are available.
- Note
In Pike 7.5 and later OOB operations are always present.
- Constant
__HAVE_POKE__
constant_Stdio.__HAVE_POKE__- Description
Indicates that this version of Pike has
Stdio.File()->poke().
- Constant
__HAVE_SEND_FD__
constant_Stdio.__HAVE_SEND_FD__- Description
Support for sending of file descriptors over Stdio.File()->pipe() objects with PROP_SEND_FD capability is supported.
- See also
Stdio.File()->send_fd(),
Stdio.File()->receive_fd(), Stdio.File()->read(),Stdio.File()->write(), Stdio.File()->pipe()
- Constant
__OOB__
constant_Stdio.__OOB__- Description
Implementation level of nonblocking I/O OOB support.
0Nonblocking OOB support is not supported.
1Nonblocking OOB works a little.
2Nonblocking OOB almost works.
3Nonblocking OOB works as intended.
-1Unknown level of nonblocking OOB support.
This constant only exists when OOB operations are available, i.e. when __HAVE_OOB__ is 1.