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

Functions

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)
 

Function Documentation

void pty_process_close ( PtyProcess ptyproc)
void pty_process_close_master ( PtyProcess ptyproc)
void pty_process_resize ( PtyProcess ptyproc,
uint16_t  width,
uint16_t  height 
)
int pty_process_spawn ( PtyProcess ptyproc)
Returns
zero on success, or negative error code.
void pty_process_teardown ( Loop loop)
const char* pty_process_tty_name ( PtyProcess ptyproc)
int translate_winpty_error ( int  winpty_errno)

Translate winpty error code to libuv error.

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