Data Structures | Typedefs | Functions
pty_process_win.c File Reference
#include <assert.h>
#include <stdbool.h>
#include <stdlib.h>
#include <winpty_constants.h>
#include "nvim/ascii.h"
#include "nvim/mbyte.h"
#include "nvim/memory.h"
#include "nvim/os/os.h"
#include "nvim/os/pty_conpty_win.h"
#include "nvim/os/pty_process_win.h"

Data Structures

struct  EnvNode


typedef struct EnvNode EnvNode


int pty_process_spawn (PtyProcess *ptyproc) FUNC_ATTR_NONNULL_ALL
const char * pty_process_tty_name (PtyProcess *ptyproc)
void pty_process_resize (PtyProcess *ptyproc, uint16_t width, uint16_t height) FUNC_ATTR_NONNULL_ALL
void pty_process_close (PtyProcess *ptyproc) FUNC_ATTR_NONNULL_ALL
void pty_process_close_master (PtyProcess *ptyproc) FUNC_ATTR_NONNULL_ALL
void pty_process_teardown (Loop *loop) FUNC_ATTR_NONNULL_ALL
int translate_winpty_error (int winpty_errno)

Typedef Documentation

◆ EnvNode

typedef struct EnvNode EnvNode

Function Documentation

◆ pty_process_close()

void pty_process_close ( PtyProcess ptyproc)

◆ pty_process_close_master()

void pty_process_close_master ( PtyProcess ptyproc)

◆ pty_process_resize()

void pty_process_resize ( PtyProcess ptyproc,
uint16_t  width,
uint16_t  height 

◆ pty_process_spawn()

int pty_process_spawn ( PtyProcess ptyproc)
zero on success, or negative error code.

◆ pty_process_teardown()

void pty_process_teardown ( Loop loop)

◆ pty_process_tty_name()

const char* pty_process_tty_name ( PtyProcess ptyproc)

◆ translate_winpty_error()

int translate_winpty_error ( int  winpty_errno)

Translate winpty error code to libuv error.

[in]winpty_errnoWinpty error code returned by winpty_error_code function.
Error code of libuv error.