cwb-itoa.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include "../cl/endian.h"

Defines

Functions

Variables


Define Documentation

#define BUFSIZE   4096

Function Documentation

int main ( int  argc,
char **  argv 
)

Main function for cwb-itoa.

Parameters:
argc Number of command-line arguments.
argv Command-line arguments.

References little_endian, process_fd(), and progname.

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.

Parameters:
fd The file handle.

References buf, BUFSIZE, cl_bswap32(), and little_endian.


Variable Documentation

int buf[BUFSIZE]
int little_endian = 0

Generated on Sun Feb 28 18:08:04 2010 for CWB by  doxygen 1.6.1