summaryrefslogtreecommitdiff
path: root/src/basic/terminal-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-07 22:45:48 +0200
committerLennart Poettering <lennart@poettering.net>2015-10-08 12:49:59 +0200
commit66cb2fde7b0ab6603775ad13c30c004f5fd88f0c (patch)
treeb046cf10f6245ccf8f1d32651f234f70a3ddba09 /src/basic/terminal-util.h
parent041f793b6b1e4b86edc909b4b2867463b3ef3efd (diff)
basic: move two more terminal-related calls into terminal-util.[ch]
Diffstat (limited to 'src/basic/terminal-util.h')
-rw-r--r--src/basic/terminal-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/basic/terminal-util.h b/src/basic/terminal-util.h
index da2a5b8897..050d0524a5 100644
--- a/src/basic/terminal-util.h
+++ b/src/basic/terminal-util.h
@@ -120,4 +120,7 @@ int get_ctty(pid_t, dev_t *_devnr, char **r);
int getttyname_malloc(int fd, char **r);
int getttyname_harder(int fd, char **r);
+int ptsname_malloc(int fd, char **ret);
int ptsname_namespace(int pty, char **ret);
+
+int openpt_in_namespace(pid_t pid, int flags);