Compile-time context detection, compiler abstractions, math utilities, and intrusive data structure m...
Core type definitions and fixed-width aliases.
#define API_EXPORT
Exports a symbol from a shared library (.dll / .so).
#define C_LINKAGE_END
Closes a C linkage block for C++ compilers (Empty in C).
#define C_LINKAGE_BEGIN
Opens a C linkage block for C++ compilers (Empty in C).
struct pty_state_t PTY_State
Encapsulates the OS-level state of an active Pseudo Console session.
b32 pty_init(struct pty_state_t *state, u16 columns, u16 rows)
Initializes a Pseudo Console and establishes bidirectional communication pipes.
void pty_cleanup(struct pty_state_t *state)
Terminates the Pseudo Console session and releases all active system handles.
b32 pty_spawn(struct pty_state_t *state, LPCWSTR command_line)
Spawns a shell process and attaches it to an initialized Pseudo Console.
Encapsulates the OS-level state of an active Pseudo Console session.