Home
last modified time | relevance | path

Searched refs:utline (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/listen/
H A Dnlps_serv.c658 struct utmpx utline; in exec_cmd() local
696 strncpy(utline.ut_user, wdbp->dbf_id, in exec_cmd()
697 sizeof (utline.ut_user) - 1); in exec_cmd()
698 sprintf(utline.ut_id, "ps%c%c", SC_WILDC, SC_WILDC); in exec_cmd()
699 strncpy(utline.ut_line, device, sizeof (utline.ut_line) - 1); in exec_cmd()
700 utline.ut_pid = getpid(); in exec_cmd()
701 utline.ut_type = USER_PROCESS; in exec_cmd()
702 utline.ut_exit.e_termination = 0; in exec_cmd()
703 utline.ut_exit.e_exit = 0; in exec_cmd()
704 utline.ut_xtime = (time_t) time((time_t *)0); in exec_cmd()
[all …]
H A Dlisten.c1356 struct utmpx utline; local
1402 strncpy(utline.ut_user, dummy, sizeof (utline.ut_user) - 1);
1403 sprintf(utline.ut_id, "ls%c%c", SC_WILDC, SC_WILDC);
1404 strncpy(utline.ut_line, device, sizeof (utline.ut_line) - 1);
1405 utline.ut_pid = getpid();
1406 utline.ut_type = USER_PROCESS;
1407 utline.ut_exit.e_termination = 0;
1408 utline.ut_exit.e_exit = 0;
1409 utline.ut_xtime = (time_t) time((time_t *)0);
1410 makeutx(&utline);