diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-09-15 12:20:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-15 12:20:58 -0700 |
commit | 057d27a9d6ef0bb2ee5130704c45b9e9197e7c36 (patch) | |
tree | c08b0d80b543cc18dd1dec97dde9885b8a50b375 /src/nvim/os/pty_proc_unix.h | |
parent | 5792546777332361a9ac49107e46149c703de90e (diff) | |
download | rneovim-057d27a9d6ef0bb2ee5130704c45b9e9197e7c36.tar.gz rneovim-057d27a9d6ef0bb2ee5130704c45b9e9197e7c36.tar.bz2 rneovim-057d27a9d6ef0bb2ee5130704c45b9e9197e7c36.zip |
refactor: rename "process" => "proc" #30387
Problem:
- "process" is often used as a verb (`multiqueue_process_events`), which
is ambiguous for cases where it's used as a topic.
- The documented naming convention for processes is "proc".
- `:help dev-name-common`
- Shorter is better, when it doesn't harm readability or
discoverability.
Solution:
Rename "process" => "proc" in all C symbols and module names.
Diffstat (limited to 'src/nvim/os/pty_proc_unix.h')
-rw-r--r-- | src/nvim/os/pty_proc_unix.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/nvim/os/pty_proc_unix.h b/src/nvim/os/pty_proc_unix.h new file mode 100644 index 0000000000..47f9af088e --- /dev/null +++ b/src/nvim/os/pty_proc_unix.h @@ -0,0 +1,18 @@ +#pragma once +// IWYU pragma: private, include "nvim/os/pty_proc.h" + +#include <stdint.h> +#include <sys/ioctl.h> + +#include "nvim/event/defs.h" + +typedef struct { + Proc proc; + uint16_t width, height; + struct winsize winsize; + int tty_fd; +} PtyProc; + +#ifdef INCLUDE_GENERATED_DECLARATIONS +# include "os/pty_proc_unix.h.generated.h" +#endif |