/freebsd-11-stable/lib/libc/tests/stdio/ |
H A D | perror_test.c | 51 char lbuf[512]; local 82 s = fgets(lbuf, sizeof(lbuf), stderr); 86 s = fgets(lbuf, sizeof(lbuf), stderr); 90 s = fgets(lbuf, sizeof(lbuf), stderr); 95 s = fgets(lbuf, sizeof(lbuf), stderr);
|
/freebsd-11-stable/stand/ofw/libofw/ |
H A D | ofw_memory.c | 61 char lbuf[80]; local 83 sprintf(lbuf, "%08x-%08x\t%08x-%08x\t%8d\t%6x\n", 90 if (pager_output(lbuf)) 101 sprintf(lbuf, "%08x-%08x\t%08x-%08x\t%8d\t%6x\n", 108 if (pager_output(lbuf))
|
/freebsd-11-stable/lib/libc/locale/ |
H A D | ldpart.c | 57 char *lbuf, *p; local 99 if ((lbuf = malloc(bufsize)) == NULL) { 103 (void)strcpy(lbuf, name); 104 p = lbuf + namesize; 130 *locale_buf = lbuf; 141 free(lbuf);
|
/freebsd-11-stable/usr.bin/cut/ |
H A D | cut.c | 273 char *lbuf; local 279 while ((lbuf = fgetln(fp, &lbuflen)) != NULL) { 281 if ((clen = mbrlen(lbuf, lbuflen, &mbs)) < 0) { 289 if (clen == 0 || *lbuf == '\n') 306 fwrite(lbuf, 1, clen, stdout); 320 fwrite(lbuf, 1, clen, stdout); 322 lbuf += clen; 386 char *lbuf, *mlbuf; local 390 while ((lbuf = fgetln(fp, &lbuflen)) != NULL) { 393 if (*(lbuf [all...] |
/freebsd-11-stable/usr.bin/ctags/ |
H A D | fortran.c | 59 if (!fgets(lbuf, sizeof(lbuf), inf)) 62 lbp = lbuf;
|
H A D | lisp.c | 60 if (!fgets(lbuf, sizeof(lbuf), inf)) 63 lbp = lbuf;
|
H A D | ctags.c | 81 char lbuf[LINE_MAX]; variable 177 (void)strcpy(lbuf, "\t"); 178 (void)strlcat(lbuf, argv[step], LINE_MAX); 179 (void)strlcat(lbuf, "\t", LINE_MAX); 180 if (regcomp(regx + step, lbuf, 185 while (fgets(lbuf, LINE_MAX, oldf)) { 188 lbuf, 0, NULL, 0) == 0) 190 fputs(lbuf, outf); 300 (void)strcpy(lbuf, "%%$"); 311 (void)strcpy(lbuf, " [all...] |
H A D | print.c | 61 for (cp = lbuf; GETC(!=, EOF) && c != '\n'; *cp++ = c) 68 else for (cnt = 0, cp = lbuf; GETC(!=, EOF) && cnt < ENDLINE; ++cnt) {
|
H A D | ctags.h | 82 extern char lbuf[LINE_MAX];
|
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_stats.c | 227 struct l_stat lbuf; local 229 bzero(&lbuf, sizeof(lbuf)); 230 lbuf.st_dev = buf->st_dev; 231 lbuf.st_ino = buf->st_ino; 232 lbuf.st_mode = buf->st_mode; 233 lbuf.st_nlink = buf->st_nlink; 234 lbuf.st_uid = buf->st_uid; 235 lbuf.st_gid = buf->st_gid; 236 lbuf 534 struct l_stat64 lbuf; local [all...] |
/freebsd-11-stable/stand/common/ |
H A D | boot.c | 313 char lbuf[128], *cp, *ep, *dev, *fstyp, *options; local 320 sprintf(lbuf, "%s/etc/fstab", rootdev); 321 if ((fd = open(lbuf, O_RDONLY)) < 0) 327 while (fgetstr(lbuf, sizeof(lbuf), fd) >= 0) { 328 if ((lbuf[0] == 0) || (lbuf[0] == '#')) 332 for (cp = lbuf; (*cp != 0) && !isspace(*cp); cp++) 339 dev = strdup(lbuf); 374 sprintf(lbuf, " [all...] |
H A D | ls.c | 65 char lbuf[128]; /* one line */ local 133 snprintf(lbuf, sizeof(lbuf), " %c %8d %s\n", 137 snprintf(lbuf, sizeof(lbuf), " %c %s\n", 140 if (pager_output(lbuf))
|
H A D | misc.c | 179 char lbuf[80]; local 180 #define emit(fmt, args...) {sprintf(lbuf, fmt , ## args); pager_output(lbuf);}
|
/freebsd-11-stable/contrib/sendmail/rmail/ |
H A D | rmail.c | 103 char **args, buf[2048], lbuf[2048]; local 138 if (sm_io_fgets(smioin, SM_TIME_DEFAULT, lbuf, 139 sizeof(lbuf)) < 0) 141 if ((p = strchr(lbuf, '\n')) == NULL) 146 if (!strncmp(lbuf, "From ", 5)) 147 addrp = lbuf + 5; 148 else if (!strncmp(lbuf, ">From ", 6)) 149 addrp = lbuf + 6; 152 "missing or empty From line: %s", lbuf); 160 err(EX_DATAERR, "corrupted From line: %s", lbuf); [all...] |
/freebsd-11-stable/usr.bin/wall/ |
H A D | wall.c | 198 wchar_t *p, *tmp, lbuf[256], codebuf[13]; local 227 (void)swprintf(lbuf, sizeof(lbuf)/sizeof(wchar_t), 230 (void)fwprintf(fp, L"%-79.79S\007\007\r\n", lbuf); 231 (void)swprintf(lbuf, sizeof(lbuf)/sizeof(wchar_t), 234 (void)fwprintf(fp, L"%-79.79S\r\n", lbuf); 247 while (fgetws(lbuf, sizeof(lbuf)/sizeof(wchar_t), stdin)) { 248 for (p = lbuf; (c [all...] |
/freebsd-11-stable/contrib/tcp_wrappers/ |
H A D | fix_options.c | 43 char lbuf[BUFFER_SIZE], *lp; local 119 lp = lbuf; 124 eval_client(request), lbuf);
|
/freebsd-11-stable/crypto/heimdal/appl/telnet/libtelnet/ |
H A D | enc_des.c | 447 char lbuf[32]; local 456 snprintf(lbuf, sizeof(lbuf), "%s_IV", type); 457 cp = lbuf; 461 snprintf(lbuf, sizeof(lbuf), "%s_IV_OK", type); 462 cp = lbuf; 466 snprintf(lbuf, sizeof(lbuf), "%s_IV_BAD", type); 467 cp = lbuf; [all...] |
/freebsd-11-stable/usr.bin/rwall/ |
H A D | rwall.c | 134 char *tty, hostname[MAXHOSTNAMELEN], lbuf[256], tmpname[64]; local 170 while (fgets(lbuf, sizeof(lbuf), stdin)) 171 fputs(lbuf, fp);
|
/freebsd-11-stable/sbin/fdisk_pc98/ |
H A D | fdisk.c | 52 static char lbuf[LBUF]; variable 771 if (fgets(lbuf, LBUF, stdin) == NULL) 773 lbuf[strlen(lbuf)-1] = 0; 775 if (*lbuf && 776 (!strcmp(lbuf, "yes") || !strcmp(lbuf, "YES") || 777 !strcmp(lbuf, "y") || !strcmp(lbuf, "Y"))) 792 if (fgets(lbuf, LBU [all...] |
/freebsd-11-stable/contrib/telnet/libtelnet/ |
H A D | enc_des.c | 441 char lbuf[32]; local 450 sprintf(lbuf, "%s_IV", type); 451 cp = lbuf; 455 sprintf(lbuf, "%s_IV_OK", type); 456 cp = lbuf; 460 sprintf(lbuf, "%s_IV_BAD", type); 461 cp = lbuf; 465 sprintf(lbuf, " %d (unknown)", data[2]); 466 cp = lbuf; 471 sprintf(lbuf, " [all...] |
H A D | krb4encpwd.c | 354 char lbuf[32]; local 391 sprintf(lbuf, " %d (unknown)", data[3]); 392 strncpy((char *)buf, lbuf, buflen); 396 sprintf(lbuf, " %d", data[i]); 397 strncpy((char *)buf, lbuf, buflen);
|
/freebsd-11-stable/usr.bin/patch/ |
H A D | inp.c | 288 char *lbuf = NULL, *p; local 302 if ((lbuf = malloc(len + 1)) == NULL) 304 memcpy(lbuf, p, len); 305 lbuf[len] = '\0'; 306 p = lbuf; 316 free(lbuf);
|
/freebsd-11-stable/libexec/atrun/ |
H A D | atrun.c | 134 struct stat buf, lbuf; local 209 if (lstat(filename, &lbuf) == -1) 212 if (S_ISLNK(lbuf.st_mode)) 215 if ((lbuf.st_dev != buf.st_dev) || (lbuf.st_ino != buf.st_ino) || 216 (lbuf.st_uid != buf.st_uid) || (lbuf.st_gid != buf.st_gid) || 217 (lbuf.st_size!=buf.st_size))
|
/freebsd-11-stable/usr.bin/ul/ |
H A D | ul.c | 369 wchar_t lbuf[256]; local 370 wchar_t *cp = lbuf; 393 for (cp=lbuf; *cp; cp++) 397 for (cp=lbuf; *cp; cp++) 400 for (cp=lbuf; *cp; cp++) 409 wchar_t lbuf[256]; local 410 wchar_t *cp = lbuf; 424 for (cp=lbuf; *cp; cp++)
|
/freebsd-11-stable/lib/libc/db/test/btree.tests/ |
H A D | main.c | 192 char *lbuf, *argv[4], buf[512]; local 202 if ((lbuf = fgets(&buf[0], 512, ifp)) == NULL) 204 if (lbuf[0] == '\n') { 208 lbuf[strlen(lbuf) - 1] = '\0'; 210 if (lbuf[0] == 'q') 213 argc = parse(lbuf, &argv[0], 3); 224 "%s: command unknown ('help' for help)\n", lbuf); 248 parse(lbuf, argv, maxargc) 249 char *lbuf, **arg [all...] |