Home
last modified time | relevance | path

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

/netbsd-src/usr.bin/gzip/
H A Dgzip.c1421 unsigned char fourbytes[4]; in file_uncompress() local
1455 rbytes = read(fd, fourbytes, sizeof fourbytes); in file_uncompress()
1456 if (rbytes != sizeof fourbytes) { in file_uncompress()
1470 method = file_gettype(fourbytes); in file_uncompress()
1494 if (fourbytes[3] & ORIG_NAME) { in file_uncompress()
1808 unsigned char fourbytes[4]; in handle_stdin() local
1839 bytes_read = read_retry(STDIN_FILENO, fourbytes, sizeof fourbytes); in handle_stdin()
1843 } else if (bytes_read != sizeof(fourbytes)) { in handle_stdin()
1848 method = file_gettype(fourbytes); in handle_stdin()
1856 usize = cat_fd(fourbytes, sizeof fourbytes, &gsize, STDIN_FILENO); in handle_stdin()
[all …]