| /src/tests/lib/libc/locale/ |
| t_wcsrtombs.c | 48 char lbuf[128]; local 53 memset(lbuf, 0, sizeof(lbuf)); 54 n = wcsrtombs(lbuf, &wp, sizeof(lbuf), &mbstate);
|
| t_wcsrtombs.c | 48 char lbuf[128]; local 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 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 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 130 snprintf(lbuf, sizeof(lbuf), " %p: %s (%s, 0x%lx)\n", 132 pager_output(lbuf);
|
| fileload.c | 121 char lbuf[80]; local 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 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 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 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 52 int len = sizeof lbuf; 134 lp = lbuf; 139 eval_client(request), lbuf);
|
| fix_options.c | 47 char lbuf[BUFFER_SIZE], *lp; local 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 195 while (fgets(lbuf, sizeof(lbuf), stdin)) 196 (void)fputs(lbuf, fp);
|
| rwall.c | 162 char tmpname[MAXPATHLEN], lbuf[BUFSIZ], hostname[MAXHOSTNAMELEN + 1]; local 195 while (fgets(lbuf, sizeof(lbuf), stdin)) 196 (void)fputs(lbuf, fp);
|
| /src/external/mit/libuv/dist/test/ |
| test-tcp-oob.c | 60 char lbuf[12]; local 72 ASSERT_NE(-1, recv(fd, lbuf, sizeof(lbuf), MSG_OOB));
|
| test-tcp-oob.c | 60 char lbuf[12]; local 72 ASSERT_NE(-1, recv(fd, lbuf, sizeof(lbuf), MSG_OOB));
|
| /src/usr.bin/realpath/ |
| realpath.c | 110 char lbuf[PATH_MAX]; local 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 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 | 574 static char lbuf[MAXPATHLEN]; local 577 if ((len = readlink(name, lbuf, sizeof(lbuf) - 1)) == -1) 579 lbuf[len] = '\0'; 580 return (lbuf);
|
| compare.c | 574 static char lbuf[MAXPATHLEN]; local 577 if ((len = readlink(name, lbuf, sizeof(lbuf) - 1)) == -1) 579 lbuf[len] = '\0'; 580 return (lbuf);
|
| /src/bin/ksh/ |
| path.c | 236 char lbuf[PATH]; local 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 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/sbin/iscsictl/ |
| iscsic_main.c | 227 char lbuf[BUF_SIZE]; local 230 vsnprintf(lbuf, sizeof(lbuf), fmt, args); 232 progname, cmdname, argp, lbuf); 270 char lbuf[BUF_SIZE]; local 273 vsnprintf(lbuf, sizeof(lbuf), fmt, args); 275 progname, cmdname, lbuf, strerror(errno)); 295 char lbuf[BUF_SIZE]; local 298 vsnprintf(lbuf, sizeof(lbuf), fmt, args) [all...] |
| /src/usr.bin/wall/ |
| wall.c | 191 char hostname[MAXHOSTNAMELEN + 1], lbuf[100]; local 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 248 while (fgets(lbuf, sizeof(lbuf), stdin) [all...] |
| /src/crypto/external/bsd/libsaslc/dist/src/ |
| parser.c | 226 char *buf, *lbuf; local 238 lbuf = NULL; 243 if ((lbuf = malloc(len + 1)) == NULL) { 248 memcpy(lbuf, buf, len); 249 lbuf[len] = '\0'; 250 buf = lbuf; 258 if (lbuf != NULL) { 259 free(lbuf); 260 lbuf = NULL; 263 if (lbuf != NULL [all...] |
| /src/external/bsd/ipf/dist/ipsend/ |
| ip.c | 258 u_32_t lbuf[20]; local 264 ip2 = (struct ip *)lbuf; 283 (lbuf[i] != htonl(0x020405b4))) { 284 lbuf[i] = htonl(0x020405b4); 310 u_long lbuf[20]; local 312 ti = (struct tcpiphdr *)lbuf;
|