summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-15 06:30:19 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-15 06:30:19 +0100
commit2f74c2f43009723c996f508f423eab3013b47792 (patch)
treec63ab495172eec96867ff28ffcffb5fbcbca0c98 /Kernel/Process.h
parentecb4ab0943530794fb00a0a6e2a82e3e94e2f9a3 (diff)
downloadserenity-2f74c2f43009723c996f508f423eab3013b47792.zip
Add basic PTY support.
For now, there are four hard-coded PTYs: /dev/pt{m,s}[0123] Use this in the Terminal to open a pty pair and spawn a shell.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index cff3df1d76..85ae1c6bda 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -167,6 +167,7 @@ public:
int sys$uname(utsname*);
int sys$readlink(const char*, char*, size_t);
int sys$ttyname_r(int fd, char*, size_t);
+ int sys$ptsname_r(int fd, char*, size_t);
pid_t sys$fork(RegisterDump&);
int sys$execve(const char* filename, const char** argv, const char** envp);
int sys$isatty(int fd);