HomeSort by: relevance | last modified time | path
    Searched defs:sbuf (Results 1 - 25 of 166) sorted by relevancy

1 2 3 4 5 6 7

  /src/games/hangman/
setup.c 53 static struct stat sbuf; local in function:setup
75 fstat(fileno(Dict), &sbuf);
76 Dict_size = sbuf.st_size;
setup.c 53 static struct stat sbuf; local in function:setup
75 fstat(fileno(Dict), &sbuf);
76 Dict_size = sbuf.st_size;
  /src/sbin/disklabel/
printlabel.c 115 char sbuf[64], obuf[64]; local in function:showpartition
117 (void)snprintf(sbuf, sizeof(sbuf),
130 'a' + i, sbuf, obuf);
printlabel.c 115 char sbuf[64], obuf[64]; local in function:showpartition
117 (void)snprintf(sbuf, sizeof(sbuf),
130 'a' + i, sbuf, obuf);
  /src/tests/lib/libc/gen/
t_ttyname.c 93 char sbuf[0]; local in function:ATF_TC_BODY
107 rv = ttyname_r(STDIN_FILENO, sbuf, sizeof(sbuf));
t_ttyname.c 93 char sbuf[0]; local in function:ATF_TC_BODY
107 rv = ttyname_r(STDIN_FILENO, sbuf, sizeof(sbuf));
  /src/games/mille/
save.c 154 STAT sbuf; local in function:rest_f
160 if (fstat(inf, &sbuf) < 0) { /* get file stats */
166 if ((p = ctime(&sbuf.st_mtime)) == NULL)
save.c 154 STAT sbuf; local in function:rest_f
160 if (fstat(inf, &sbuf) < 0) { /* get file stats */
166 if ((p = ctime(&sbuf.st_mtime)) == NULL)
  /src/games/sail/
lo_main.c 69 char sbuf[32]; local in function:lo_curses
104 snprintf(sbuf, sizeof(sbuf),
107 snprintf(sbuf, sizeof(sbuf),
112 title[n++], sbuf, ship->shipname, log.l_netpoints,
125 char sbuf[32]; local in function:lo_main
146 snprintf(sbuf, sizeof(sbuf),
149 snprintf(sbuf, sizeof(sbuf)
    [all...]
lo_main.c 69 char sbuf[32]; local in function:lo_curses
104 snprintf(sbuf, sizeof(sbuf),
107 snprintf(sbuf, sizeof(sbuf),
112 title[n++], sbuf, ship->shipname, log.l_netpoints,
125 char sbuf[32]; local in function:lo_main
146 snprintf(sbuf, sizeof(sbuf),
149 snprintf(sbuf, sizeof(sbuf)
    [all...]
  /src/sys/compat/common/
vfs_syscalls_20.c 90 struct statvfs *sbuf; local in function:compat_20_sys_statfs
101 sbuf = STATVFSBUF_GET();
102 if ((error = dostatvfs(mp, sbuf, l, 0, 1)) != 0)
105 error = statvfs_to_statfs12_copy(sbuf, SCARG(uap, buf), 0);
108 STATVFSBUF_PUT(sbuf);
125 struct statvfs *sbuf; local in function:compat_20_sys_fstatfs
132 sbuf = STATVFSBUF_GET();
133 if ((error = dostatvfs(mp, sbuf, l, 0, 1)) != 0)
135 error = statvfs_to_statfs12_copy(sbuf, SCARG(uap, buf), 0);
138 STATVFSBUF_PUT(sbuf);
166 struct statvfs *sbuf; local in function:compat_20_sys_fhstatfs
    [all...]
vfs_syscalls_20.c 90 struct statvfs *sbuf; local in function:compat_20_sys_statfs
101 sbuf = STATVFSBUF_GET();
102 if ((error = dostatvfs(mp, sbuf, l, 0, 1)) != 0)
105 error = statvfs_to_statfs12_copy(sbuf, SCARG(uap, buf), 0);
108 STATVFSBUF_PUT(sbuf);
125 struct statvfs *sbuf; local in function:compat_20_sys_fstatfs
132 sbuf = STATVFSBUF_GET();
133 if ((error = dostatvfs(mp, sbuf, l, 0, 1)) != 0)
135 error = statvfs_to_statfs12_copy(sbuf, SCARG(uap, buf), 0);
138 STATVFSBUF_PUT(sbuf);
166 struct statvfs *sbuf; local in function:compat_20_sys_fhstatfs
    [all...]
  /src/usr.bin/newgrp/
newgrp.c 68 char *shell, sbuf[MAXPATHLEN + 2]; local in function:main
186 sbuf[0] = '-';
187 (void)strlcpy(sbuf + 1, basename(pwd->pw_shell),
188 sizeof(sbuf) - 1);
189 shell = sbuf;
newgrp.c 68 char *shell, sbuf[MAXPATHLEN + 2]; local in function:main
186 sbuf[0] = '-';
187 (void)strlcpy(sbuf + 1, basename(pwd->pw_shell),
188 sizeof(sbuf) - 1);
189 shell = sbuf;
  /src/usr.sbin/rpcbind/
warmstart.c 105 struct stat sbuf; local in function:read_struct
107 if (stat(filename, &sbuf) != 0) {
111 if ((sbuf.st_uid != 0) || (sbuf.st_mode & S_IRWXG) ||
112 (sbuf.st_mode & S_IRWXO)) {
warmstart.c 105 struct stat sbuf; local in function:read_struct
107 if (stat(filename, &sbuf) != 0) {
111 if ((sbuf.st_uid != 0) || (sbuf.st_mode & S_IRWXG) ||
112 (sbuf.st_mode & S_IRWXO)) {
  /src/usr.bin/tip/
cu.c 59 static char sbuf[12]; local in function:cumain
215 (void)snprintf(sbuf, sizeof sbuf, "cu%d", (int)BR);
216 if ((i = hunt(sbuf)) == 0) {
cu.c 59 static char sbuf[12]; local in function:cumain
215 (void)snprintf(sbuf, sizeof sbuf, "cu%d", (int)BR);
216 if ((i = hunt(sbuf)) == 0) {
  /src/lib/libc/stdio/
gettemp.c 58 struct stat sbuf; local in function:GETTEMP
104 rval = stat(path, &sbuf);
108 if (!S_ISDIR(sbuf.st_mode)) {
129 } else if (lstat(path, &sbuf))
gettemp.c 58 struct stat sbuf; local in function:GETTEMP
104 rval = stat(path, &sbuf);
108 if (!S_ISDIR(sbuf.st_mode)) {
129 } else if (lstat(path, &sbuf))
  /src/usr.bin/rwall/
rwall.c 154 struct stat sbuf; local in function:makemsg
199 if (fstat(fd, &sbuf) == -1)
201 mbufsize = (size_t)sbuf.st_size;
rwall.c 154 struct stat sbuf; local in function:makemsg
199 if (fstat(fd, &sbuf) == -1)
201 mbufsize = (size_t)sbuf.st_size;
  /src/games/phantasia/
gamesupport.c 467 struct scoreboard sbuf; /* for reading entries */ local in function:scorelist
471 while (fread((char *) &sbuf, SZ_SCORESTRUCT, 1, fp) == 1)
473 sbuf.sb_name, sbuf.sb_login, sbuf.sb_level, sbuf.sb_type);
524 struct scoreboard sbuf; /* buffer to read in scoreboard entries */ local in function:enterscore
530 while (fread((char *) &sbuf, SZ_SCORESTRUCT, 1, fp) == 1)
531 if (strcmp(Player.p_login, sbuf.sb_login) == 0) {
547 if ((!found) || Player.p_level > sbuf.sb_level
    [all...]
  /src/games/rogue/
machdep.c 192 struct stat sbuf; local in function:md_get_file_id
194 if (stat(fname, &sbuf)) {
197 return((int)sbuf.st_ino);
211 struct stat sbuf; local in function:md_link_count
213 stat(fname, &sbuf);
214 return((int)sbuf.st_nlink);
267 struct stat sbuf; local in function:md_gfmt
271 stat(fname, &sbuf);
272 seconds = sbuf.st_mtime;
  /src/sbin/modstat/
main.c 80 char sbuf[32]; local in function:main
212 sbuf[0] = '-';
213 sbuf[1] = '\0';
215 snprintf(sbuf, sizeof(sbuf), "%u", ms->ms_size);
232 printf("%7s %s\n", sbuf, (req));

Completed in 33 milliseconds

1 2 3 4 5 6 7