#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Functions | |
| int | main (int argc, char *argv[]) |
| Main call of the endian_check program. | |
If it is 1, it is LITTLE_ENDIAN, if it is 256, it is BIG_ENDIAN
After that it outputs the contents of an include files (endian.h) that says or TTD_LITTLE_ENDIAN, or TTD_BIG_ENDIAN. Makefile takes care of the real writing to the file.
Definition in file endian_check.cpp.
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Main call of the endian_check program.
| argc | argument count | |
| argv | arguments themselves |
Definition at line 21 of file endian_check.cpp.
1.5.6