/src/tests/lib/libc/locale/ |
t_wcsrtombs.c | 48 char lbuf[128]; local in function:ATF_TC_BODY 53 memset(lbuf, 0, sizeof(lbuf)); 54 n = wcsrtombs(lbuf, &wp, sizeof(lbuf), &mbstate);
|
t_wcsrtombs.c | 48 char lbuf[128]; local in function:ATF_TC_BODY 53 memset(lbuf, 0, sizeof(lbuf)); 54 n = wcsrtombs(lbuf, &wp, sizeof(lbuf), &mbstate);
|
/src/sys/arch/ia64/stand/common/ |
ls.c | 65 char lbuf[128]; /* one line */ local in function:command_ls 117 snprintf(lbuf, sizeof(lbuf), " %c %8d %s\n", typestr[d->d_type], 120 snprintf(lbuf, sizeof(lbuf), " %c %s\n", typestr[d->d_type], 123 if (pager_output(lbuf))
|
ls.c | 65 char lbuf[128]; /* one line */ local in function:command_ls 117 snprintf(lbuf, sizeof(lbuf), " %c %8d %s\n", typestr[d->d_type], 120 snprintf(lbuf, sizeof(lbuf), " %c %s\n", typestr[d->d_type], 123 if (pager_output(lbuf))
|
fileload.c | 121 char lbuf[80]; local in function:command_lskern 130 snprintf(lbuf, sizeof(lbuf), " %p: %s (%s, 0x%lx)\n", 132 pager_output(lbuf);
|
fileload.c | 121 char lbuf[80]; local in function:command_lskern 130 snprintf(lbuf, sizeof(lbuf), " %p: %s (%s, 0x%lx)\n", 132 pager_output(lbuf);
|
boot.c | 292 char lbuf[128], *cp, *ep, *dev, *fstyp; local in function:getrootmount 298 snprintf(lbuf, sizeof(lbuf), "%s/etc/fstab", rootdev); 299 if ((fd = open(lbuf, O_RDONLY)) < 0) 304 while (fgetstr(lbuf, sizeof(lbuf), fd) >= 0) { 305 if ((lbuf[0] == 0) || (lbuf[0] == '#')) 309 for (cp = lbuf; (*cp != 0) && !isspace(*cp); cp++) 315 dev = strdup(lbuf); [all...] |
boot.c | 292 char lbuf[128], *cp, *ep, *dev, *fstyp; local in function:getrootmount 298 snprintf(lbuf, sizeof(lbuf), "%s/etc/fstab", rootdev); 299 if ((fd = open(lbuf, O_RDONLY)) < 0) 304 while (fgetstr(lbuf, sizeof(lbuf), fd) >= 0) { 305 if ((lbuf[0] == 0) || (lbuf[0] == '#')) 309 for (cp = lbuf; (*cp != 0) && !isspace(*cp); cp++) 315 dev = strdup(lbuf); [all...] |
/src/usr.bin/rdist/ |
lookup.c | 130 char lbuf[256]; local in function:lookup 145 (void)snprintf(lbuf, sizeof(lbuf), 147 yyerror(lbuf); 154 (void)snprintf(lbuf, sizeof(lbuf), "%s undefined", name); 155 yyerror(lbuf);
|
lookup.c | 130 char lbuf[256]; local in function:lookup 145 (void)snprintf(lbuf, sizeof(lbuf), 147 yyerror(lbuf); 154 (void)snprintf(lbuf, sizeof(lbuf), "%s undefined", name); 155 yyerror(lbuf);
|
/src/lib/libwrap/ |
fix_options.c | 47 char lbuf[BUFFER_SIZE], *lp; local in function:fix_options 52 int len = sizeof lbuf; 134 lp = lbuf; 139 eval_client(request), lbuf);
|
fix_options.c | 47 char lbuf[BUFFER_SIZE], *lp; local in function:fix_options 52 int len = sizeof lbuf; 134 lp = lbuf; 139 eval_client(request), lbuf);
|
/src/usr.bin/rwall/ |
rwall.c | 162 char tmpname[MAXPATHLEN], lbuf[BUFSIZ], hostname[MAXHOSTNAMELEN + 1]; local in function:makemsg 195 while (fgets(lbuf, sizeof(lbuf), stdin)) 196 (void)fputs(lbuf, fp);
|
rwall.c | 162 char tmpname[MAXPATHLEN], lbuf[BUFSIZ], hostname[MAXHOSTNAMELEN + 1]; local in function:makemsg 195 while (fgets(lbuf, sizeof(lbuf), stdin)) 196 (void)fputs(lbuf, fp);
|
/src/usr.bin/realpath/ |
realpath.c | 110 char lbuf[PATH_MAX]; local in function:process 177 if ((llen = readlink(s, lbuf, sizeof lbuf - 2)) == -1) { 183 lbuf[llen] = '\0'; 185 if (lbuf[0] == '/') { 186 q = lbuf; 188 lbuf[llen++] = '/'; 189 lbuf[llen] = '\0'; 200 if ((size_t)snprintf(q, sizeof buf, "%s/%s%s", r, lbuf,
|
realpath.c | 110 char lbuf[PATH_MAX]; local in function:process 177 if ((llen = readlink(s, lbuf, sizeof lbuf - 2)) == -1) { 183 lbuf[llen] = '\0'; 185 if (lbuf[0] == '/') { 186 q = lbuf; 188 lbuf[llen++] = '/'; 189 lbuf[llen] = '\0'; 200 if ((size_t)snprintf(q, sizeof buf, "%s/%s%s", r, lbuf,
|
/src/usr.sbin/mtree/ |
compare.c | 578 static char lbuf[MAXPATHLEN]; local in function:rlink 581 if ((len = readlink(name, lbuf, sizeof(lbuf) - 1)) == -1) 583 lbuf[len] = '\0'; 584 return (lbuf);
|
compare.c | 578 static char lbuf[MAXPATHLEN]; local in function:rlink 581 if ((len = readlink(name, lbuf, sizeof(lbuf) - 1)) == -1) 583 lbuf[len] = '\0'; 584 return (lbuf);
|
/src/sbin/iscsictl/ |
iscsic_main.c | 227 char lbuf[BUF_SIZE]; local in function:arg_error 230 vsnprintf(lbuf, sizeof(lbuf), fmt, args); 232 progname, cmdname, argp, lbuf); 270 char lbuf[BUF_SIZE]; local in function:io_error 273 vsnprintf(lbuf, sizeof(lbuf), fmt, args); 275 progname, cmdname, lbuf, strerror(errno)); 295 char lbuf[BUF_SIZE]; local in function:gen_error 298 vsnprintf(lbuf, sizeof(lbuf), fmt, args) [all...] |
iscsic_main.c | 227 char lbuf[BUF_SIZE]; local in function:arg_error 230 vsnprintf(lbuf, sizeof(lbuf), fmt, args); 232 progname, cmdname, argp, lbuf); 270 char lbuf[BUF_SIZE]; local in function:io_error 273 vsnprintf(lbuf, sizeof(lbuf), fmt, args); 275 progname, cmdname, lbuf, strerror(errno)); 295 char lbuf[BUF_SIZE]; local in function:gen_error 298 vsnprintf(lbuf, sizeof(lbuf), fmt, args) [all...] |
/src/usr.bin/wall/ |
wall.c | 191 char hostname[MAXHOSTNAMELEN + 1], lbuf[100]; local in function:makebanner 211 (void)snprintf(lbuf, sizeof lbuf, 213 (void)fprintf(fp, "%-79.79s\007\007\r\n", lbuf); 217 (void)snprintf(lbuf, sizeof lbuf, " (%s) at %d:%02d %s...", tty, 219 (void)fprintf(fp, "%-79.79s\r\n", lbuf); 229 char *p, tmpname[MAXPATHLEN], lbuf[100]; local in function:makemsg 248 while (fgets(lbuf, sizeof(lbuf), stdin) [all...] |
wall.c | 191 char hostname[MAXHOSTNAMELEN + 1], lbuf[100]; local in function:makebanner 211 (void)snprintf(lbuf, sizeof lbuf, 213 (void)fprintf(fp, "%-79.79s\007\007\r\n", lbuf); 217 (void)snprintf(lbuf, sizeof lbuf, " (%s) at %d:%02d %s...", tty, 219 (void)fprintf(fp, "%-79.79s\r\n", lbuf); 229 char *p, tmpname[MAXPATHLEN], lbuf[100]; local in function:makemsg 248 while (fgets(lbuf, sizeof(lbuf), stdin) [all...] |
/src/bin/ksh/ |
path.c | 236 char lbuf[PATH]; local in function:do_phys_path 263 llen = readlink(Xstring(*xsp, xp), lbuf, sizeof(lbuf) - 1); 270 lbuf[llen] = '\0'; 273 xp = ISABSPATH(lbuf) ? Xstring(*xsp, xp) 275 if (!(xp = do_phys_path(xsp, xp, lbuf)))
|
path.c | 236 char lbuf[PATH]; local in function:do_phys_path 263 llen = readlink(Xstring(*xsp, xp), lbuf, sizeof(lbuf) - 1); 270 lbuf[llen] = '\0'; 273 xp = ISABSPATH(lbuf) ? Xstring(*xsp, xp) 275 if (!(xp = do_phys_path(xsp, xp, lbuf)))
|
/src/games/dm/ |
dm.c | 130 char lbuf[BUFSIZ], f1[40], f2[40], f3[40], f4[40], f5[40]; local in function:read_config 134 while (fgets(lbuf, sizeof(lbuf), cfp)) 135 switch (*lbuf) { 137 if (sscanf(lbuf, "%39s%39s", f1, f2) != 2 || 143 if (sscanf(lbuf, "%39s%39s%39s%39s%39s", 149 if (sscanf(lbuf, "%39s%39s%39s%39s", f1, f2, f3, f4) != 4 ||
|