OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:utmpx
(Results
1 - 4
of
4
) sorted by relevancy
/src/lib/libpam/modules/pam_lastlog/
pam_lastlog.c
86
#include <
utmpx
.h>
232
logit(LOG_NOTICE, "%s(): no
utmpx
record for %s",
274
struct
utmpx
utmpx
;
local
277
memset((void *)&
utmpx
, 0, sizeof(
utmpx
));
278
utmpx
.ut_tv = *now;
279
(void)strncpy(
utmpx
.ut_name, username, sizeof(
utmpx
.ut_name));
281
(void)strncpy(
utmpx
.ut_host, hostname, sizeof(utmpx.ut_host))
[
all
...]
/src/include/
utmpx.h
1
/* $NetBSD:
utmpx
.h,v 1.18 2021/08/15 00:36:11 gutteridge Exp $ */
39
#define _PATH_UTMPX "/var/run/
utmpx
"
82
* The following structure describes the fields of the
utmpx
entries
103
struct
utmpx
{
struct
135
struct
utmpx
*getutxent(void) __RENAME(__getutxent50);
136
struct
utmpx
*getutxid(const struct
utmpx
*) __RENAME(__getutxid50);
137
struct
utmpx
*getutxline(const struct
utmpx
*) __RENAME(__getutxline50);
138
struct
utmpx
*pututxline(const struct utmpx *) __RENAME(__pututxline50)
[
all
...]
/src/usr.bin/login/
common.c
66
#include <
utmpx
.h>
241
struct
utmpx
utmpx
;
local
244
memset((void *)&
utmpx
, 0, sizeof(
utmpx
));
245
utmpx
.ut_tv = now;
246
(void)strncpy(
utmpx
.ut_name, username, sizeof(
utmpx
.ut_name));
248
(void)strncpy(
utmpx
.ut_host, hostname, sizeof(
utmpx
.ut_host))
[
all
...]
/src/libexec/ftpd/
ftpd.c
150
#include <
utmpx
.h>
206
static struct
utmpx
utmpx
; /* for
utmpx
*/
variable in typeref:struct:utmpx
1226
(void)memset(&
utmpx
, 0, sizeof(
utmpx
));
1227
utmpx
.ut_tv = tv;
1228
utmpx
.ut_pid = getpid();
1229
utmpx
.ut_id[0] = 'f';
1230
utmpx
.ut_id[1] = 't'
[
all
...]
Completed in 17 milliseconds
Indexes created Sun Aug 09 00:24:28 UTC 2026