| /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);
 
 | 
| /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))
 
 | 
| 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...]
 | 
| /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);
 
 | 
| /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);
 
 | 
| /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);
 
 | 
| /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,
 
 | 
| /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);
 
 | 
| /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...]
 | 
| /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...]
 | 
| /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)))
 
 | 
| /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 ||
 
 | 
| /src/lib/libtelnet/ | 
| sra.c | 386 	char lbuf[32], *buf = (char *)ubuf;  local in function:sra_printsub 429 		snprintf(lbuf, sizeof(lbuf), " %d (unknown)", data[3]);
 430 		strncpy(buf, lbuf, buflen);
 434 			snprintf(lbuf, sizeof(lbuf), " %d", data[i]);
 435 			strncpy(buf, lbuf, buflen);
 
 | 
| /src/libexec/atrun/ | 
| atrun.c | 161 	struct stat buf, lbuf;  local in function:run_file 217 	if (lstat(filename, &lbuf) == -1)
 222 	if (S_ISLNK(lbuf.st_mode))
 226 	if ((lbuf.st_dev != buf.st_dev) || (lbuf.st_ino != buf.st_ino) ||
 227 	    (lbuf.st_uid != buf.st_uid) || (lbuf.st_gid != buf.st_gid) ||
 228 	    (lbuf.st_size!=buf.st_size))
 
 | 
| /src/libexec/httpd/ | 
| lua-bozo.c | 89 	luaL_Buffer lbuf;  local in function:lua_read 95 	data = luaL_buffinitsize(L, &lbuf, (size_t)len);
 98 		luaL_pushresultsize(&lbuf, n);
 
 | 
| /src/sys/arch/ia64/stand/ia64/efi/ | 
| main.c | 431 		char lbuf[128];  local in function:print_trs 451 		snprintf(lbuf, sizeof(lbuf),
 464 		pager_output(lbuf);
 
 | 
| /src/usr.bin/csplit/ | 
| csplit.c | 286 	static char lbuf[LINE_MAX];  local in function:get_line 291 again: if (fgets(lbuf, sizeof(lbuf), src) == NULL) {
 302 	return (lbuf);
 
 | 
| /src/usr.bin/fmt/ | 
| fmt.c | 213 	struct buffer lbuf, cbuf;  local in function:fmt 258 	buf_init(&lbuf);
 267 		buf_reset(&lbuf);
 270 				(void)buf_unputc(&lbuf);
 278 			buf_putc(&lbuf, c);
 281 		buf_putc(&lbuf, '\0');
 282 		(void)buf_unputc(&lbuf);
 289 		cp = lbuf.bptr;
 316 	buf_end(&lbuf);
 
 | 
| /src/usr.bin/ul/ | 
| ul.c | 315 	char lbuf[256];  local in function:overstrike 316 	char *cp = lbuf;
 337 	for (cp=lbuf; *cp; cp++)
 341 		for (cp=lbuf; *cp; cp++)
 344 		for (cp=lbuf; *cp; cp++)
 353 	char lbuf[256];  local in function:iattr
 354 	char *cp = lbuf;
 368 	for (cp=lbuf; *cp; cp++)
 
 | 
| /src/usr.sbin/lpr/common_source/ | 
| displayq.c | 416 	struct stat lbuf;  local in function:dump 437 	if (*file && !stat(file, &lbuf))
 438 		totsize += copies * (long)lbuf.st_size;
 448 	struct stat lbuf;  local in function:ldump
 455 	if (*file && !stat(file, &lbuf))
 456 		printf(" %lld bytes", (long long)lbuf.st_size);
 
 | 
| /src/usr.bin/patch/ | 
| inp.c | 145 	char		*p, *s, *lbuf;  local in function:plan_a 198 		if ((lbuf = malloc(bufsz)) == NULL)
 200 		lbuf[0] = '\0';
 203 	(snprintf(lbuf, lbufsz, f, a1, a2, a3), stat(lbuf, &cstat) == 0)
 274 		free(lbuf);
 
 | 
| /src/sbin/dmctl/ | 
| dmctl.c | 554 	char *buf, *lbuf;  local in function:parse_stdin 558 	lbuf = NULL;
 572 	if ((lbuf = malloc(len)) == NULL)
 575 	memcpy(lbuf, buf, len);
 576 	lbuf[len - 1] = '\0';
 578 	return lbuf;
 
 | 
| /src/usr.bin/ctags/ | 
| ctags.c | 81 char	lbuf[LINE_MAX];  variable in typeref:typename:char[] 313 				(void)strlcpy(lbuf, "%%$", sizeof(lbuf));
 324 			(void)strlcpy(lbuf, "%%$", sizeof(lbuf));
 
 | 
| /src/usr.bin/cut/ | 
| cut.c | 230 	char *lbuf;  local in function:b_n_cut 236 	while ((lbuf = fgetln(fp, &lbuflen)) != NULL) {
 238 			if ((clen = mbrlen(lbuf, lbuflen, &mbs)) < 0) {
 246 			if (clen == 0 || *lbuf == '\n')
 263 					fwrite(lbuf, 1, clen, stdout);
 277 					fwrite(lbuf, 1, clen, stdout);
 279 			lbuf += clen;
 295 	char *lbuf, *tbuf;  local in function:f_cut
 297 	for (sep = dchar, tbuf = NULL; (lbuf = fgetln(fp, &len)) != NULL;) {
 299 		if (lbuf[len - 1] != '\n')
 [all...]
 |