HomeSort by: relevance | last modified time | path
    Searched defs:ut (Results 1 - 25 of 56) sorted by relevancy

1 2 3

  /src/lib/libutil/
logwtmpx.c 59 struct utmpx ut; local
65 (void)memset(&ut, 0, sizeof(ut));
66 (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));
67 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name));
68 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host));
69 ut.ut_type = type
    [all...]
logout.c 57 struct utmp ut; local
64 while (read(fd, &ut, sizeof(ut)) == sizeof(ut)) {
65 if (!ut.ut_name[0] || strncmp(ut.ut_line, line,
68 memset(ut.ut_name, 0, (size_t)UT_NAMESIZE);
69 memset(ut.ut_host, 0, (size_t)UT_HOSTSIZE);
70 (void)time(&ut.ut_time);
71 (void)lseek(fd, -(off_t)sizeof(ut), SEEK_CUR)
    [all...]
logoutx.c 58 struct utmpx *utp, ut; local
59 (void)strlcpy(ut.ut_line, line, sizeof(ut.ut_line));
60 if ((utp = getutxline(&ut)) == NULL) {
logwtmp.c 56 struct utmp ut; local
67 (void) strncpy(ut.ut_line, line, sizeof(ut.ut_line));
68 (void) strncpy(ut.ut_name, name, sizeof(ut.ut_name));
69 (void) strncpy(ut.ut_host, host, sizeof(ut.ut_host));
70 (void) time(&ut.ut_time);
71 if (write(fd, &ut, sizeof(struct utmp)) != sizeof(struct utmp))
  /src/lib/libutil/compat/
compat_loginx.c 58 struct utmpx ut; local
59 utmpx50_to_utmpx(ut50, &ut);
60 (void)__pututxline50(&ut);
61 (void)__updwtmpx50(_PATH_WTMPX, &ut);
compat_logoutx.c 58 struct utmpx *utp, ut; local
59 (void)strlcpy(ut.ut_line, line, sizeof(ut.ut_line));
60 if ((utp = getutxline(&ut)) == NULL) {
compat_login.c 64 struct utmp ut; local
66 utmp50_to_utmp(ut50, &ut);
71 (void)write(fd, &ut, sizeof(ut));
75 (void)write(fd, &ut, sizeof(ut));
  /src/lib/libc/gen/
utmp.c 47 static FILE *ut; variable
53 if (ut == NULL)
55 (void)fseeko(ut, (off_t)0, SEEK_SET);
61 if (ut == NULL) {
64 if ((ut = fopen(utfile, "re")) == NULL)
66 if (fstat(fileno(ut), &st) == -1)
75 if (fread(&utmp, sizeof(utmp), 1, ut) == 1)
78 (void)fclose(ut);
85 if (ut != NULL) {
86 (void)fclose(ut);
    [all...]
utmpx.c 60 static struct utmpx ut; variable in typeref:struct:utmpx
97 (void)memset(&ut, 0, sizeof(ut));
100 (void)fseeko(fp, (off_t)sizeof(ut), SEEK_SET);
108 (void)memset(&ut, 0, sizeof(ut));
139 (void)memset(&ut, 0, sizeof(ut));
140 ut.ut_type = SIGNATURE;
141 (void)memcpy(ut.ut_user, vers, sizeof(vers))
    [all...]
  /src/libexec/ftpd/
logutmp.c 91 ftpd_login(const struct utmp *ut)
127 (void)write(fd, ut, sizeof(UTMP));
133 UTMP ut; local
142 while (read(fd, &ut, sizeof(UTMP)) == sizeof(UTMP)) {
143 if (!ut.ut_name[0]
144 || strncmp(ut.ut_line, line, UT_LINESIZE))
146 memset(ut.ut_name, 0, UT_NAMESIZE);
147 memset(ut.ut_host, 0, UT_HOSTSIZE);
148 (void)time(&ut.ut_time);
150 (void)write(fd, &ut, sizeof(UTMP))
    [all...]
logwtmp.c 89 struct utmp ut; local
95 (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));
96 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name));
97 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host));
98 (void)time(&ut.ut_time);
99 if (write(fd, (char *)&ut, sizeof(struct utmp)) !=
121 struct utmpx ut; local
    [all...]
  /src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
copy-file.c 91 struct utimbuf ut; local
93 ut.actime = statbuf.st_atime;
94 ut.modtime = statbuf.st_mtime;
95 utime (dest_filename, &ut);
99 struct timeval ut[2]; local
101 ut[0].tv_sec = statbuf.st_atime; ut[0].tv_usec = 0;
102 ut[1].tv_sec = statbuf.st_mtime; ut[1].tv_usec = 0;
103 utimes (dest_filename, &ut);
    [all...]
  /src/crypto/external/cpl/trousers/dist/src/tcsd/
platform.c 43 struct utmp ut, save, *next = NULL; local
49 memset(&ut, 0, sizeof(struct utmp));
53 ut.ut_type = RUN_LVL;
56 next = getutid(&ut);
70 next = getutid(&ut);
117 struct utmpx ut, *utp = NULL; local
121 memset(&ut, 0, sizeof(ut));
122 ut.ut_type = RUN_LVL;
125 utp = getutxid(&ut);
    [all...]
  /src/lib/libc/compat/gen/
compat_utmpx.c 69 cvt(struct utmpx *ut)
71 if (ut == NULL)
73 timeval_to_timeval50(&ut->ut_tv, (void *)&ut->ut_tv);
74 return (void *)ut;
104 struct utmpx ut; local
105 utmpx50_to_utmpx(ut50, &ut);
106 return cvt(__getutxid50(&ut));
112 struct utmpx ut; local
113 utmpx50_to_utmpx(ut50, &ut);
120 struct utmpx ut; local
128 struct utmpx ut; local
    [all...]
  /src/sys/miscfs/procfs/
procfs_status.c 139 /* comm pid ppid pgid sid maj,min ctty,sldr start ut st wmsg uid gid groups ... */
172 struct timeval ut, st; local
174 calcru(p, &ut, &st, (void *) 0, NULL);
176 " %lld,%ld %lld,%ld", (long long)ut.tv_sec,
177 (long)ut.tv_usec, (long long)st.tv_sec, (long)st.tv_usec);
  /src/external/bsd/tmux/usr.bin/tmux/
utempter.c 63 struct utmpx ut; local
66 (void)memset(&ut, 0, sizeof(ut));
67 ut.ut_tv = *now;
68 (void)strncpy(ut.ut_name, username, sizeof(ut.ut_name));
70 (void)strncpy(ut.ut_host, hostname, sizeof(ut.ut_host));
71 (void)strncpy(ut.ut_line, tty, sizeof(ut.ut_line))
100 struct utmp ut; local
    [all...]
  /src/usr.bin/who/
utmpentry.c 181 struct utmp *ut; local
217 while ((what & 2) && (ut = getutent()) != NULL) {
218 if (fname == NULL && (*ut->ut_name == '\0' ||
219 *ut->ut_line == '\0'))
223 if (strncmp(ep->line, ut->ut_line,
224 sizeof(ut->ut_line)) == 0)
233 getentry(ep, ut);
  /src/external/bsd/libarchive/dist/libarchive/
archive_time.c 81 time_t ut = unix_time; local
86 if (sizeof(time_t) < sizeof(int64_t) && (int64_t)ut != unix_time) {
87 ut = (time_t)(unix_time > 0 ? INT32_MAX : INT32_MIN);
91 t = localtime_s(&tmbuf, &ut) ? NULL : &tmbuf;
93 t = localtime_r(&ut, &tmbuf);
95 t = localtime(&ut);
  /src/libexec/rpc.rusersd/
rusers_proc.c 194 static utmp_array ut; local
202 (void)memset(&ut, 0, sizeof(ut));
203 ut.utmp_array_val = utmps;
217 ut.utmp_array_len = nu;
219 return &ut;
241 static struct utmpidlearr ut; local
248 (void)memset(&ut, 0, sizeof(ut));
249 ut.uia_arr = utmp_idlep
    [all...]
  /src/sys/kern/
kern_acct.c 410 struct timeval ut, st, tmp; local
448 calcru(p, &ut, &st, NULL, NULL);
450 acct.ac_utime = encode_comp_t(ut.tv_sec, ut.tv_usec);
461 timeradd(&ut, &st, &tmp);
  /src/sys/arch/vax/boot/xxboot/
bootxx.c 371 void *ut = top; local
373 return ut;
  /src/external/bsd/ntp/dist/libntp/
systime.c 407 struct utmp ut; local
414 ZERO(ut);
428 ut.ut_type = OLD_TIME;
429 strlcpy(ut.ut_line, OTIME_MSG, sizeof(ut.ut_line));
430 ut.ut_time = tvlast.tv_sec;
432 pututline(&ut);
433 ut.ut_type = NEW_TIME;
434 strlcpy(ut.ut_line, NTIME_MSG, sizeof(ut.ut_line))
    [all...]
  /src/external/lgpl3/gmp/dist/tests/
refmpf.c 31 mp_ptr ut, vt, wt; local
72 ut = TMP_ALLOC_LIMBS (size + 1);
75 MPN_ZERO (ut, size);
79 MPN_COPY (ut + off, PTR (u), ABSIZ (u));
84 cy = mpn_add_n (wt, ut, vt, size);
203 mp_ptr ut, vt, wt; local
245 ut = TMP_ALLOC_LIMBS (size + 1);
248 MPN_ZERO (ut, size);
252 MPN_COPY (ut + off, PTR (u), ABSIZ (u));
257 if (mpn_cmp (ut, vt, size) >= 0
    [all...]
  /src/crypto/external/apache2/openssl/dist/engines/
e_afalg.c 853 struct utsname ut; local
855 ret = uname(&ut);
862 str = strtok(ut.release, ".");
  /src/crypto/external/bsd/openssl/dist/engines/
e_afalg.c 832 struct utsname ut; local
834 ret = uname(&ut);
841 str = strtok(ut.release, ".");

Completed in 41 milliseconds

1 2 3