summaryrefslogtreecommitdiff
path: root/modules/getlogin
blob: 1348319b70aaea302c1314d555f3a34b287f21a0 (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
Description:
getlogin() function: Get user name.

Files:
lib/getlogin.c
m4/getlogin.m4

Depends-on:
unistd

configure.ac:
gl_FUNC_GETLOGIN
if test $HAVE_GETLOGIN = 0; then
  AC_LIBOBJ([getlogin])
fi
gl_UNISTD_MODULE_INDICATOR([getlogin])
AC_REQUIRE([gl_LIB_GETLOGIN])

Makefile.am:

Include:
<unistd.h>

Link:
$(LIB_GETLOGIN)

License:
LGPLv2+

Maintainer:
all