view modules/login_tty @ 40205:9e8fb35d4032

relocatable-prog: Revert "Use wrapper-free installation on Mac OS X." * build-aux/install-reloc: Revert change. * m4/relocatable.m4 (gl_RELOCATABLE_BODY): Likewise.
author Bruno Haible <bruno@clisp.org>
date Mon, 04 Mar 2019 17:25:04 +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