#include <sys/types.h>#include <sys/stat.h>#include <signal.h>#include <fcntl.h>#include <unistd.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include <errno.h>Include dependency graph for dd.c:

Go to the source code of this file.
Defines | |
| #define | EOS '\0' |
| #define | BOOLEAN int |
| #define | TRUE 1 |
| #define | FALSE 0 |
| #define | BIGNUM 2147483647 |
| #define | SWAB 0x0001 |
| #define | LCASE 0x0002 |
| #define | UCASE 0x0004 |
| #define | NOERROR 0x0008 |
| #define | SYNC 0x0010 |
| #define | SILENT 0x0020 |
| #define | BLANK ' ' |
| #define | DEFAULT 512 |
Functions | |
| _PROTOTYPE (int main,(int argc, char **argv)) | |
| _PROTOTYPE (BOOLEAN is,(char *pc)) | |
| _PROTOTYPE (int num,(void)) | |
| _PROTOTYPE (void puto,(void)) | |
| _PROTOTYPE (int ulcase,(int c)) | |
| _PROTOTYPE (void cnull,(int c)) | |
| _PROTOTYPE (void over,(int dummy)) | |
| BOOLEAN | is (char *pc) |
| int | num () |
| void | puto () |
| void | statistics () |
| int | main (int argc, argv) |
| int | ulcase (int c) |
| void | cnull (int c) |
| void | null (int c) |
| void | extra () |
| void | over (int sig) |
Variables | |
| char * | pch |
| char * | errorp |
| unsigned | cbs |
| unsigned | bs |
| unsigned | skip |
| unsigned | nseek |
| unsigned | count |
| int | seekseen = FALSE |
| unsigned | ibs = DEFAULT |
| unsigned | obs = DEFAULT |
| unsigned | files = 1 |
| char * | ifilename = NULL |
| char * | ofilename = NULL |
| int | convflag = 0 |
| int | flag = 0 |
| int | ifd |
| int | ofd |
| int | ibc |
| char * | ibuf |
| char * | obuf |
| char * | op |
| unsigned | nifull |
| unsigned | nipartial |
| unsigned | nofull |
| unsigned | nopartial |
| int | cbc |
| unsigned | ntr |
| unsigned | obc |
| int | ns |
| char | mlen [] = {64, 45, 82, 45, 83, 96, 109, 100, 109, 97, 96, 116, 108, 9} |
|
|
Definition at line 45 of file dd.c. Referenced by num(). |
|
|
Definition at line 85 of file dd.c. Referenced by cmp(), and skip_fields(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 82 of file dd.c. Referenced by compose_reply(), DecodeError(), ListHosts(), main(), printinfo(), res_mkquery(), and res_query(). |
|
|
Definition at line 84 of file dd.c. Referenced by main(), and statistics(). |
|
|
Definition at line 79 of file dd.c. Referenced by main(). |
|
|
Definition at line 83 of file dd.c. Referenced by inflateSync(), main(), and sync(). |
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
Definition at line 376 of file dd.c. References null. Referenced by bc_divide(), compress_block(), cylinderalign(), decomp(), gen_bitlen(), inflate_table(), inflate_table9(), inflateBack9(), rijndael_cbc_decrypt(), rijndael_cbc_encrypt(), rijndael_ecb_decrypt(), rijndael_ecb_encrypt(), setviz(), and unzRepair(). |
|
|
|
|
||||||||||||
|
Definition at line 135 of file dd.c. References convert(), dup, EOS, errno, errorp, exit(), fprintf(), fstat, i, int(), iptr, is, j, LCASE, lseek, NOERROR, num(), O_CREAT, O_RDONLY, O_TRUNC, O_WRONLY, open, over(), pch, puto(), read, S_ISBLK, S_ISREG, sbrk, SEEK_SET, SIG_IGN, SIGINT, signal(), SILENT, st, stat::st_mode, statistics(), stderr, strerror(), SWAB, SYNC, TRUE, UCASE, and write. |
|
|
Definition at line 366 of file dd.c. References puto(). |
|
|
Definition at line 47 of file dd.c. References BIGNUM, EOS, errorp, exit(), fprintf(), L, long(), num(), pc, pch, stderr, and TRUE. |
|
|
Definition at line 385 of file dd.c. References exit(), raise(), SIG_DFL, signal(), and statistics(). Referenced by main(). |
|
|
Definition at line 106 of file dd.c. References errno, exit(), fprintf(), n, stderr, strerror(), and write. |
|
|
Definition at line 126 of file dd.c. |
|
|
Definition at line 345 of file dd.c. Referenced by cnull(). |
|
|
Definition at line 88 of file dd.c. Referenced by bsClose(), bsGetBit(), bsOpenReadStream(), bsOpenWriteStream(), bsPutBit(), bsPutUChar(), and bsPutUInt32(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 97 of file dd.c. Referenced by decode_message(), doset(), err(), eval(), exportcmd(), forkexec(), get_args(), grave(), ioecho(), itoa(), main(), onecommand(), patch_ptr(), prolog(), set_misc_flags(), setdash(), test19e(), test5a(), and warn(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 103 of file dd.c. Referenced by hasSuffix(), main(), Newstr(), and res_send(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 98 of file dd.c. Referenced by iwritfile(), and sbx_aout(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 88 of file dd.c. Referenced by columns(), command(), display(), do_extract_currentfile(), equal(), extract(), getendif(), getexp(), gzheader(), httpget(), Indirect(), list_dir(), listsym(), log_append(), mkfld(), parse(), run(), and Split(). |
1.4.6