#include "system.h"#include "file.h"#include "debug.h"Go to the source code of this file.
Functions | |
| const char * | rcsid (const char *p) |
| int | swrite (int fd, const void *buf, size_t n) |
| int | sread (int fd, void *buf, size_t n) |
| int | file_pipe2file (int fd, const void *startbuf, size_t nbytes) |
| int | uncompressbuf (int method, const unsigned char *old, unsigned char **newch, int n) |
| int | fmagicZ (fmagic fm) |
Variables | |
| struct { | |
| const char * magic | |
| int maglen | |
| const char *const argv [3] | |
| int silent | |
| } | compr [] |
| int | ncompr = sizeof(compr) / sizeof(compr[0]) |
|
||||||||||||||||
|
Definition at line 90 of file compress.c. References errno, error(), EXIT_FAILURE, SEEK_SET, sread(), strerror(), and swrite(). |
|
|
Definition at line 311 of file compress.c. References fmagic_s::buf, compr, fmagic, fmagicF(), maglen, fmagic_s::nb, ncompr, and uncompressbuf(). Referenced by fmagicF(). |
|
|
Definition at line 6 of file compress.c. |
|
||||||||||||||||
|
Definition at line 66 of file compress.c. References errno. Referenced by file_pipe2file(), and uncompressbuf(). |
|
||||||||||||||||
|
Definition at line 40 of file compress.c. References errno. Referenced by file_pipe2file(), and uncompressbuf(). |
|
||||||||||||||||||||
|
Definition at line 234 of file compress.c. References argv, compr, errno, error(), EXIT_FAILURE, HOWMANY, sread(), strerror(), swrite(), and xmalloc(). Referenced by fmagicZ(). |
|
|
|
Referenced by fmagicZ(), and uncompressbuf(). |
|
|
Definition at line 14 of file compress.c. Referenced by isCompressed(). |
|
|
Definition at line 15 of file compress.c. Referenced by fmagicZ(). |
|
|
Definition at line 34 of file compress.c. Referenced by fmagicZ(). |
|
|
Definition at line 18 of file compress.c. |
1.3.5