io_control |
The os_io_control
class contains attributes commonly used in the creation and use of I/O objects.
You can specify special I/O characteristics for any object with a constructor
that takes an os_ioctl_t
. A parameter of this type accepts either an os_io_control
object or a bitwise-OR of the following flags.
O_APPEND
-Appends all writes to the end of the file.O_CLOSE_ON_EXEC
-Closes the I/O object when its process executes.O_NOERROR
-By default, an event is generated if you try to read a message longer than
the receive buffer. This flag silently truncates messages longer than the
receive buffer and generates no event.O_NONBLOCK
-By default, any I/O operation is blocked until this flag is satisfied. This
flag immediately returns any I/O operations that would normally be blocked
and generates an event.O_RDONLY
-By default, opens the I/O object for reading only. Any attempt to write to
the object generates an event.O_RDWR
-Opens the I/O object for reading and writing.O_WRONLY
-Opens the I/O object for writing only. Any attempt to read from the object
generates an event.O_UNDO
-Automatically undoes semaphore operations if the process terminates
abnormally.
enum os_io_control::type_t
{
read_only_access,
write_only_access,
read_write_access,
write_append_access,
read_write_append_access
};
0
).)true
if this value is less than control .)true if this object's value is the same as control
's.true if append on write.true if the flags specified by mask
are set.true if read only.true if read and write.true if readable.true ).true if write only.true if writable.true if asynchronous signaling on data ready.true if close on process exec.true if error inhibition on truncate.true if non-blocking.true if synchronous writes.)true if undo.)
#include <ospace/uss/io.h>
Copyright©1994-2026 Recursion
Software LLC
All Rights Reserved - For use by licensed users only.