summaryrefslogtreecommitdiff
path: root/modules/login_tty
blob: 551691e2c5dce9764b7168680e41895d994367aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Description:
login_tty() function: Assign a given terminal as controlling terminal and as
standard input, standard output, standard error of the current process.

Files:
lib/login_tty.c
m4/pty.m4

Depends-on:
pty
sys_ioctl
open            [test $ac_cv_func_login_tty = no]

configure.ac:
gl_FUNC_LOGIN_TTY
if test $ac_cv_func_login_tty = no; then
  AC_LIBOBJ([login_tty])
fi
gl_PTY_MODULE_INDICATOR([login_tty])

Makefile.am:

Include:
extern int login_tty (int);

Link:
$(PTY_LIB)

License:
LGPL

Maintainer:
all