view modules/login_tty @ 40196:e63f5d3edab5

relocatable-prog: Update documentation. * doc/relocatable-maint.texi (Supporting Relocation): Update to match the recent changes.
author Bruno Haible <bruno@clisp.org>
date Sun, 24 Feb 2019 01:49:15 +0100
parents 1f14c6dd175d
children
line wrap: on
line source

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

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