Searched refs:ubuf (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/lib/libc/port/gen/
H A Dttyslot.c56 struct futmpx ubuf; local
80 while ((fread(&ubuf, sizeof (ubuf), 1, fp)) == 1) {
81 if ((ubuf.ut_type == INIT_PROCESS ||
82 ubuf.ut_type == LOGIN_PROCESS ||
83 ubuf.ut_type == USER_PROCESS) &&
84 strncmp(p, ubuf.ut_line,
85 sizeof (ubuf.ut_line)) == 0) {
88 strncmp(ubuf.ut_host, ":0", 2) == 0)
H A Dgetlogin.c65 struct futmpx ubuf; local
76 (void) lseek64(uf, me * sizeof (ubuf), SEEK_SET);
77 if (read(uf, &ubuf, sizeof (ubuf)) != sizeof (ubuf)) {
82 if (ubuf.ut_user[0] == '\0')
84 (void) strncpy(&answer[0], &ubuf.ut_user[0],
H A Dgetut.c89 static long loc_utmp; /* Where in "utmp" the current "ubuf" was found. */
93 static struct utmp ubuf; /* Last entry returned to client */ variable in typeref:struct:utmp
178 utmp_frec2api(&fubuf, &ubuf);
181 return (&ubuf);
193 utmp_api2frec(&ubuf, &fubuf);
201 * If there is no entry in "ubuf", skip to the read.
225 utmp_frec2api(&fubuf, &ubuf);
226 return (&ubuf);
247 utmp_frec2api(&fubuf, &ubuf);
248 return (&ubuf);
[all...]
H A Dgetutx.c130 static struct utmpx ubuf; /* Last entry returned to client */ variable in typeref:struct:utmpx
262 utmpx_frec2api(&fubuf, &ubuf);
265 return (&ubuf);
307 utmpx_api2frec(&ubuf, &fubuf);
338 utmpx_frec2api(&fubuf, &ubuf);
339 return (&ubuf);
360 utmpx_frec2api(&fubuf, &ubuf);
361 return (&ubuf);
377 utmpx_frec2api(&fubuf, &ubuf);
420 utmpx_api2frec(&ubuf,
[all...]
/osnet-11/usr/src/cmd/sendmail/src/
H A Dparseaddr.c1967 static char ubuf[MAXNAME + 2]; local
2035 cataddr(++tv, NULL, ubuf, sizeof(ubuf), ' ', false);
2043 a->q_user = sm_rpool_strdup_x(e->e_rpool, ubuf);
2074 stripquotes(ubuf);
2075 if (ISSMTPCODE(ubuf) && ubuf[3] == ' ')
2080 if ((off = isenhsc(ubuf + 4, ' ')) > 0)
2082 ubuf[off + 4] = '\0';
2088 ubuf[
3082 char ubuf[BUFSIZ * 2]; local
[all...]
H A Derr.c136 char ubuf[80]; local
210 user = ubuf;
211 (void) sm_snprintf(ubuf, sizeof(ubuf), "UID%d", (int) RealUid);
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_mbuf.c416 uint16_t *ubuf; local
419 ubuf = smbfs_convert_utf8_to_leunicode(s);
420 if (ubuf == NULL)
422 len = 2 * (smbfs_unicode_strlen(ubuf) + 1);
423 err = smbfs_mb_put_mem(mbp, ubuf, len, MB_MSYSTEM);
424 free(ubuf);
/osnet-11/usr/src/lib/libshell/common/edit/
H A Dvi.c226 genchar ubuf[MAXLINE]; /* used for u command */ local
387 vp->u_space = ubuf;

Completed in 39 milliseconds