mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-01-29 22:24:20 +01:00
terminal: set the pty fd non blocking
This commit is contained in:
@@ -25,6 +25,10 @@ get_sig_name(int sig, char *buf, size_t len);
|
||||
int
|
||||
get_sig(const char *sig_name);
|
||||
|
||||
// Set the given file descriptor close-on-exec
|
||||
bool
|
||||
fd_set_cloexec(const int fd);
|
||||
|
||||
// waitpid with WNOHANG and return the status
|
||||
int
|
||||
wait_proc(pid_t in, pid_t *out);
|
||||
|
||||
Reference in New Issue
Block a user