From a6d9d23b5f9e3c1d421c1f32a3f1dffe8452cb74 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 27 May 2019 12:49:12 +0200 Subject: lib/ttyutils: introduce get_terminal_stdfd() Let's use separate function to detect what is the current terminal. Signed-off-by: Karel Zak --- include/pathnames.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/pathnames.h') diff --git a/include/pathnames.h b/include/pathnames.h index bd29b640a..ee470ee4b 100644 --- a/include/pathnames.h +++ b/include/pathnames.h @@ -95,6 +95,8 @@ #define _PATH_PROC_GIDMAP "/proc/self/gid_map" #define _PATH_PROC_SETGROUPS "/proc/self/setgroups" +#define _PATH_PROC_FDDIR "/proc/self/fd" + #define _PATH_PROC_ATTR_CURRENT "/proc/self/attr/current" #define _PATH_PROC_ATTR_EXEC "/proc/self/attr/exec" #define _PATH_PROC_CAPLASTCAP "/proc/sys/kernel/cap_last_cap" -- cgit v1.2.3-55-g7522