|
CWB
|
#include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include "../cl/endian.h"#include "../cl/cl.h"Functions | |
| void | process_fd (FILE *fd) |
| Reads one integer at a time from a stream and prints a decimal representation of it on STDOUT; strings representing ints are split by newlines. More... | |
| int | main (int argc, char **argv) |
| Main function for cwb-itoa. More... | |
Variables | |
| int | little_endian = 0 |
| int | buf [CL_MAX_LINE_LENGTH] |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Main function for cwb-itoa.
| argc | Number of command-line arguments. |
| argv | Command-line arguments. |
References little_endian, process_fd(), progname, and VERSION.
| void process_fd | ( | FILE * | fd | ) |
Reads one integer at a time from a stream and prints a decimal representation of it on STDOUT; strings representing ints are split by newlines.
| fd | The file handle. |
References buf, cl_bswap32(), CL_MAX_LINE_LENGTH, and little_endian.
Referenced by main().
| int buf[CL_MAX_LINE_LENGTH] |
| int little_endian = 0 |
Referenced by main(), and process_fd().
1.8.8