Home
last modified time | relevance | path

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

/freebsd/usr.bin/gzip/
H A Dgzip.c1376 unsigned char fourbytes[4]; in file_uncompress() local
1408 rbytes = read(fd, fourbytes, sizeof fourbytes); in file_uncompress()
1409 if (rbytes != sizeof fourbytes) { in file_uncompress()
1421 method = file_gettype(fourbytes); in file_uncompress()
1442 if (fourbytes[3] & ORIG_NAME) { in file_uncompress()
1748 unsigned char fourbytes[4]; in handle_stdin() local
1777 bytes_read = read_retry(STDIN_FILENO, fourbytes, sizeof fourbytes); in handle_stdin()
1781 } else if (bytes_read != sizeof(fourbytes)) { in handle_stdin()
1786 method = file_gettype(fourbytes); in handle_stdin()
1793 usize = cat_fd(fourbytes, sizeof fourbytes, &gsize, STDIN_FILENO); in handle_stdin()
[all …]