summaryrefslogtreecommitdiff
path: root/modules/tcgetsid
blob: 67e74cabf779b1a7154394b3de2cc06b6aaae5b6 (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
34
Description:
tcgetsid() function: Determine the session ID of the controlling terminal of
the current process.

Files:
lib/tcgetsid.c
m4/tcgetsid.m4

Depends-on:
termios
extensions
sys_ioctl       [test $HAVE_TCGETSID = 0]

configure.ac:
gl_FUNC_TCGETSID
gl_CONDITIONAL([GL_COND_OBJ_TCGETSID], [test $HAVE_TCGETSID = 0])
AM_COND_IF([GL_COND_OBJ_TCGETSID], [
  gl_PREREQ_TCGETSID
])
gl_TERMIOS_MODULE_INDICATOR([tcgetsid])

Makefile.am:
if GL_COND_OBJ_TCGETSID
lib_SOURCES += tcgetsid.c
endif

Include:
<termios.h>

License:
LGPL

Maintainer:
all