|
WinTer 0.1.1
Windows Terminal Emulator
|
Pseudo Console (PTY) lifecycle, stream management, and shell process spawning. More...


Go to the source code of this file.
Classes | |
| struct | pty_state_t |
| Encapsulates the OS-level state of an active Pseudo Console session. More... | |
Typedefs | |
| typedef struct pty_state_t | PTY_State |
| Encapsulates the OS-level state of an active Pseudo Console session. | |
Functions | |
| b32 | pty_init (struct pty_state_t *state, u16 columns, u16 rows) |
| Initializes a Pseudo Console and establishes bidirectional communication pipes. | |
| b32 | pty_spawn (struct pty_state_t *state, LPCWSTR command_line) |
| Spawns a shell process and attaches it to an initialized Pseudo Console. | |
| void | pty_cleanup (struct pty_state_t *state) |
| Terminates the Pseudo Console session and releases all active system handles. | |
Pseudo Console (PTY) lifecycle, stream management, and shell process spawning.
Abstracts the three-phase setup required to host a shell inside a custom Windows application:
Definition in file pty.h.