Functions
pty_process_unix.c File Reference
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <termios.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/ioctl.h>
#include <pty.h>
#include <uv.h>
#include "nvim/lib/klist.h"
#include "nvim/event/loop.h"
#include "nvim/event/rstream.h"
#include "nvim/event/wstream.h"
#include "nvim/event/process.h"
#include "nvim/os/pty_process_unix.h"
#include "nvim/log.h"
#include "nvim/os/os.h"

Functions

void pty_process_save_termios (int tty_fd)
 
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)
 

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 
)
void pty_process_save_termios ( int  tty_fd)

Saves the termios properties associated with tty_fd.

Parameters
tty_fdTTY file descriptor, or -1 if not in a terminal.
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)