ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
platform_stderr_redirect_handle_t Struct Reference

Handle for temporary stderr redirection. More...

#include <include/ascii-chat/os/system.h>

Data Fields

int original_fd
int devnull_fd

Detailed Description

Handle for temporary stderr redirection.

Opaque handle returned by platform_stderr_redirect_to_null() that can be used to restore stderr to its original destination.

Signal handler function type

Parameters
sigSignal number

Definition at line 379 of file system.h.

Field Documentation

◆ devnull_fd

int platform_stderr_redirect_handle_t::devnull_fd

/dev/null file descriptor (-1 if not opened)

Definition at line 381 of file system.h.

◆ original_fd

int platform_stderr_redirect_handle_t::original_fd

Original stderr file descriptor (-1 if not redirected)

Definition at line 380 of file system.h.


The documentation for this struct was generated from the following file: