#include <sys/types.h>#include <fcntl.h>#include <stdlib.h>#include <unistd.h>#include <minix/minlib.h>#include <stdio.h>Include dependency graph for sum.c:

Go to the source code of this file.
Defines | |
| #define | BUFFER_SIZE (512) |
Functions | |
| _PROTOTYPE (int main,(int argc, char **argv)) | |
| _PROTOTYPE (void error,(char *s, char *f)) | |
| _PROTOTYPE (void sum,(int fd, char *fname)) | |
| _PROTOTYPE (void putd,(int number, int fw, int zeros)) | |
| int | main (int argc, argv) |
| void | error (char *s, char *f) |
| void | sum (int fd, char *fname) |
| void | putd (int number, int fw, int zeros) |
Variables | |
| int | rc = 0 |
| char * | defargv [] = {"-", 0} |
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 56 of file sum.c. References std_err(). |
|
||||||||||||
|
Definition at line 32 of file sum.c. References close, defargv, error, O_RDONLY, open, rc, and sum(). |
|
||||||||||||||||
|
|
|
||||||||||||
|
Definition at line 67 of file sum.c. References BUFFER_SIZE, crc(), i, n, read, size, and tmp. Referenced by _do_add(), bc_add(), bc_multiply(), burden(), checksum(), file_geom(), gf2_matrix_times(), init_geometry_boot(), ipeth_update_ttl(), main(), oneC_sum(), sum_shortname(), tcp_pack_oneCsum(), tcp_put_pkt(), uInt64_to_double(), wdeth_probe(), writebootcatalog(), and writev(). |
|
|
Definition at line 25 of file sum.c. Referenced by main(). |
|
|
Definition at line 23 of file sum.c. Referenced by cmd_read(), do_getstat(), el3_checksum(), el3_read_StationAddress(), get_userdata(), inb(), insb(), insw(), inw(), main(), outb(), outsb(), outsw(), outw(), SimpleFileOpen(), and syslog(). |
1.4.6