Home
last modified time | relevance | path

Searched refs:stat_buf (Results 1 – 6 of 6) sorted by relevance

/busybox-1.35.0/scripts/basic/
Dsplit-include.c61 struct stat stat_buf; in main() local
75 if (stat(str_file_autoconf, &stat_buf) != 0) in main()
77 buffer_size = 2 * stat_buf.st_size + 4096; in main()
90 if (stat(str_dir_config, &stat_buf) != 0) in main()
151 if (stat(ptarget, &stat_buf) != 0 in main()
210 if (stat(line+1, &stat_buf) != 0) in main()
214 if (stat_buf.st_size != 0) in main()
/busybox-1.35.0/coreutils/
Duuencode.c43 struct stat stat_buf; in uuencode_main() local
58 fstat(src_fd, &stat_buf); in uuencode_main()
59 mode = stat_buf.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO); in uuencode_main()
/busybox-1.35.0/archival/
Dbbunzip.c46 struct stat stat_buf; in bbunpack() local
63 if (stat(filename, &stat_buf) != 0) { in bbunpack()
111 stat_buf.st_mode)) in bbunpack()
168 ? ((uoff_t)stat_buf.st_size * 100u / (unsigned long long)status) in bbunpack()
Dunzip.c475 struct stat stat_buf; in get_lstat_mode() local
476 if (lstat(dst_fn, &stat_buf) == -1) { in get_lstat_mode()
485 return stat_buf.st_mode; in get_lstat_mode()
/busybox-1.35.0/libbb/
Dxfuncs_printf.c515 void FAST_FUNC xstat(const char *name, struct stat *stat_buf) in xstat() argument
517 if (stat(name, stat_buf)) in xstat()
521 void FAST_FUNC xfstat(int fd, struct stat *stat_buf, const char *errmsg) in xfstat() argument
527 if (fstat(fd, stat_buf)) in xfstat()
/busybox-1.35.0/runit/
Drunsv.c217 char stat_buf[sizeof("finish, paused, got TERM, want down\n")]; in update_status() local
218 char *p = stat_buf; in update_status()
244 write(fd, stat_buf, p - stat_buf); in update_status()