/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | ipft_ef.c | 77 char lbuf[128], len[8], prot[8], time[8], *s; local 80 if (!fgets(lbuf, sizeof(lbuf) - 1, efp)) 83 if ((s = strchr(lbuf, '\n'))) 85 lbuf[sizeof(lbuf)-1] = '\0'; 89 if (sscanf(lbuf, "%7s %7s %15s %15s %15s %15s", len, prot, src, dst, 91 if (sscanf(lbuf, "%7s %7s %7s %15s %15s %15s %15s", time,
|
H A D | ipft_td.c | 100 char lbuf[160], *s; local 103 if (!fgets(lbuf, sizeof(lbuf) - 1, tfp)) 106 if ((s = strchr(lbuf, '\n'))) 108 lbuf[sizeof(lbuf)-1] = '\0'; 112 if ((n = sscanf(lbuf, "%31s > %31s: %255s", src, dst, misc)) != 3) 113 if ((n = sscanf(lbuf, "%31s %31s > %31s: %255s", 115 if ((n = sscanf(lbuf, "%31s %31s: %31s > %31s: %255s", 117 n = sscanf(lbuf, [all...] |
/illumos-gate/usr/src/ucbcmd/from/ |
H A D | from.c | 28 char lbuf[BUFSIZ]; local 84 while (fgets(lbuf, sizeof (lbuf), stdin) != NULL) 85 if (lbuf[0] == '\n' && stashed) { 88 } else if (strncmp(lbuf, "From ", 5) == 0 && 89 (sender == NULL || match(&lbuf[4], sender))) { 90 (void) strcpy(lbuf2, lbuf);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | safechown.c | 28 struct stat lbuf; local 44 if (lstat(src, &lbuf)) { 50 if (fdbuf.st_ino != lbuf.st_ino || fdbuf.st_dev != lbuf.st_dev || 51 fdbuf.st_mode != lbuf.st_mode) {
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | ldpart.c | 54 char *lbuf, *p; local 79 if ((lbuf = libc_malloc(bufsize)) == NULL) { 83 (void) strcpy(lbuf, name); 84 p = lbuf + namesize; 108 *locale_buf = lbuf; 118 free(lbuf);
|
/illumos-gate/usr/src/cmd/head/ |
H A D | head.c | 176 char lbuf[BUFSIZ]; local 179 while (cnt > 0 && fgets(lbuf, sizeof (lbuf), input) != 0) { 180 len = strlen(lbuf); 182 (void) printf("%s", lbuf); 187 if (lbuf[len - 1] == '\n') { 194 lbuf[cnt] = '\0'; 197 (void) printf("%s", lbuf);
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | fix_options.c | 47 char lbuf[BUFFER_SIZE], *lp; local 107 lp = lbuf; 112 eval_client(request), lbuf);
|
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | ofw_memory.c | 64 char lbuf[80]; local 86 sprintf(lbuf, "%08x-%08x\t%08x-%08x\t%8d\t%6x\n", 93 if (pager_output(lbuf)) 104 sprintf(lbuf, "%08x-%08x\t%08x-%08x\t%8d\t%6x\n", 111 if (pager_output(lbuf))
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | boot.c | 298 char lbuf[128], *cp, *ep, *dev, *fstyp, *options; local 305 sprintf(lbuf, "%s/etc/fstab", rootdev); 306 if ((fd = open(lbuf, O_RDONLY)) < 0) 310 while (fgetstr(lbuf, sizeof(lbuf), fd) >= 0) { 311 if ((lbuf[0] == 0) || (lbuf[0] == '#')) 315 for (cp = lbuf; (*cp != 0) && !isspace(*cp); cp++) 321 dev = strdup(lbuf); 355 sprintf(lbuf, " [all...] |
H A D | ls.c | 65 char lbuf[128]; /* one line */ local 129 sprintf(lbuf, " %c %8d %s\n", 133 sprintf(lbuf, " %c %s\n", 136 if (pager_output(lbuf))
|
H A D | misc.c | 178 char lbuf[80]; local 179 #define emit(fmt, args...) {sprintf(lbuf, fmt , ## args); pager_output(lbuf);}
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | enc_des.c | 416 char lbuf[ENCR_LBUF_BUFSIZ]; local 426 (void) snprintf(lbuf, ENCR_LBUF_BUFSIZ, "%s_IV", type); 427 cp = lbuf; 431 (void) snprintf(lbuf, ENCR_LBUF_BUFSIZ, "%s_IV_OK", type); 432 cp = lbuf; 436 (void) snprintf(lbuf, ENCR_LBUF_BUFSIZ, "%s_IV_BAD", type); 437 cp = lbuf; 441 (void) snprintf(lbuf, ENCR_LBUF_BUFSIZ, " %d (unknown)", 443 cp = lbuf; 448 (void) snprintf(lbuf, ENCR_LBUF_BUFSI [all...] |
H A D | auth.c | 471 uchar_t lbuf[AUTH_LBUF_BUFSIZ]; local 481 (void) snprintf((char *)lbuf, AUTH_LBUF_BUFSIZ, " %d", *data); 482 for (cp = lbuf; (*cp != '\0') && (buflen > 0); --buflen)
|
H A D | kerberos5.c | 522 char lbuf[AUTH_LBUF_BUFSIZ]; local 568 (void) snprintf(lbuf, AUTH_LBUF_BUFSIZ, 571 (void) strncpy((char *)buf, lbuf, buflen); 575 (void) snprintf(lbuf, AUTH_LBUF_BUFSIZ, " %d", data[i]); 576 (void) strncpy((char *)buf, lbuf, buflen);
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | scratchops.c | 86 struct stat lbuf, fbuf; local 102 if (lstat(mapfile, &lbuf) == -1) 104 if (!S_ISREG(lbuf.st_mode) || lbuf.st_nlink != 1 || 105 lbuf.st_uid != 0) { 114 if (lbuf.st_ino != fbuf.st_ino || lbuf.st_dev != fbuf.st_dev) {
|
/illumos-gate/usr/src/cmd/grep/ |
H A D | grep.c | 299 char *lbuf, *p; local 404 for (lbuf = linebuf; p < ptrend; ) 405 *lbuf++ = (char)tolower((int) 407 *lbuf = '\0'; 408 lbuf = linebuf; 413 lbuf = ptr; 416 if ((step(lbuf, expbuf) ^ vflag) && succeed(file) == 1)
|
/illumos-gate/usr/src/lib/mpss/common/ |
H A D | mpss.c | 73 static char lbuf[MAXLINELEN]; variable 386 while (fgets(lbuf, MAXLINELEN, fp)) { 388 if (empty(lbuf)) 393 if (strlen(lbuf) >= MAXLINELEN - 1) { 405 if (!(tokstack = strrchr(lbuf, CFGDELIMITER))) { 412 /* found delimiter in lbuf */ 417 if (!(tokheap = strrchr(lbuf, CFGDELIMITER))) { 428 if (tokarg = strrchr(lbuf, ARGDELIMITER)) { 432 tok = lbuf;
|
/illumos-gate/usr/src/lib/udapl/libdat/include/dat/ |
H A D | dat_redirection.h | 205 #define DAT_EP_POST_SEND(ep, size, lbuf, cookie, flags) \ 209 (lbuf),\ 213 #define DAT_EP_POST_RECV(ep, size, lbuf, cookie, flags) \ 217 (lbuf),\ 221 #define DAT_EP_POST_RDMA_READ(ep, size, lbuf, cookie, rbuf, flags) \ 225 (lbuf),\ 230 #define DAT_EP_POST_RDMA_WRITE(ep, size, lbuf, cookie, rbuf, flags) \ 234 (lbuf),\ 276 #define DAT_LMR_SYNC_RDMA_READ(ia, lbuf, size) \ 279 (lbuf), \ [all...] |
/illumos-gate/usr/src/cmd/vi/misc/ |
H A D | ctags.c | 138 static char lbuf[LINE_MAX]; variable 156 static char *dbp = lbuf; 464 lbuf[50] = 0; 465 (void) strcat(lbuf, "$"); 466 lbuf[50] = 0; 468 np->pat = savestr(lbuf); 905 (void) strcpy(lbuf, line); 906 lbuf[strlen(lbuf) - 1] = '\0'; 957 (void) fgets(lbuf, sizeo [all...] |
/illumos-gate/usr/src/cmd/ls/ |
H A D | ls.c | 94 /* this bit equals 1 in lflags of structure lbuf if *namep is to be used */ 184 struct lbuf { struct 232 static int maxfils = 0; /* number of flist/lbuf entries allocated */ 236 static struct lbuf *nxtlbf; /* ptr to next lbuf to be assigned */ 237 static struct lbuf **flist; /* ptr to list of lbuf pointers */ 238 static struct lbuf *gstat(char *, int, struct ditem *); 242 static void pentry(struct lbuf *); 249 static void pem(struct lbuf **, struc [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uuxqt.c | 828 char lbuf[BUFSIZ]; local 1095 (void) snprintf(lbuf, sizeof (lbuf), "%s!%s XQT DENIED", 1100 (void) snprintf(lbuf, sizeof (lbuf), 1106 logent(incmd, lbuf); 1119 (void) snprintf(lbuf, sizeof (lbuf), "%s!%s XQT", Rmtname, user); 1120 logent(_Cmd, lbuf); 1164 (void) snprintf(lbuf, sizeo [all...] |
/illumos-gate/usr/src/cmd/tip/ |
H A D | remcap.c | 93 char lbuf[BUFSIZ], *cp, *p; local 106 rc2 = getent(lbuf, name, cp, sizeof (lbuf)); 110 p = lbuf;
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_iter.c | 289 char lbuf[ZFS_MAXPROPLEN], rbuf[ZFS_MAXPROPLEN]; local 322 (void) strlcpy(lbuf, zfs_get_name(l), sizeof (lbuf)); 325 lstr = lbuf; 328 lvalid = (zfs_prop_get(l, psc->sc_prop, lbuf, 329 sizeof (lbuf), NULL, NULL, 0, B_TRUE) == 0); 333 lstr = lbuf;
|
/illumos-gate/usr/src/cmd/sed/ |
H A D | compile.c | 154 static char lbuf[_POSIX2_LINE_MAX + 1]; /* To save stack */ local 162 if ((p = cu_fgets(lbuf, sizeof (lbuf), NULL)) == NULL) { 463 static char lbuf[_POSIX2_LINE_MAX + 1]; local 518 if (cu_fgets(lbuf, sizeof (lbuf), 520 p = lbuf; 540 } while (cu_fgets(p = lbuf, sizeof (lbuf), &more)); 723 char lbuf[_POSIX2_LINE_MA local [all...] |
/illumos-gate/usr/src/boot/sys/boot/arm/ixp425/boot2/ |
H A D | ixp425_board.c | 364 u_int8_t *lbuf; local 367 lbuf = buf; 370 *lbuf = tmp; 379 lbuf++; 400 u_int16_t *lbuf; local 404 lbuf = buf; 406 *lbuf = cfread16(CF_DATA); 407 lbuf++;
|