void twili_finalize()
Finalize Twili services.
result_t twili_open_stdout(twili_pipe_t *pipe)
Open Twili stdout.
result_t twili_pipe_read(twili_pipe_t *pipe, void *buffer, size_t limit, size_t *bytes_read)
Read from a Twili pipe.
int twili_pipe_fd(twili_pipe_t *pipe)
Creates a file descriptor for a Twili pipe Copies and takes ownership of pipe.
result_t twili_pipe_write(twili_pipe_t *pipe, const void *buffer, size_t size)
Write to a Twili pipe Errors if not all bytes can be written.
uint32_t result_t
Function result.
Definition: types.h:51
Represents either an object within an IPC domain or a standalone object.
Definition: ipc.h:32
result_t twili_init()
Initialize Twili services.
result_t twili_create_named_output_pipe(const char *name, twili_pipe_t *pipe)
Open Twili named output pipe.
Interprocess Communication data structures and functions.
result_t twili_open_stderr(twili_pipe_t *pipe)
Open Twili stderr.
result_t twili_open_stdin(twili_pipe_t *pipe)
Open Twili stdin.