Doxygen Source Code Documentation
byteorder.c File Reference
#include "mrilib.h"Go to the source code of this file.
| Functions | |
| int | main (int argc, char *argv[]) | 
Function Documentation
| 
 | ||||||||||||
| convert DTIStudio fiber format data to SUMA segment data Definition at line 9 of file byteorder.c. References argc, and mri_short_order(). 
 00010 {
00011    int bb = mri_short_order() ;
00012 
00013    if( argc > 1 && strcmp(argv[1],"-help") == 0 ){
00014      printf("Usage: byteorder\n"
00015             "Prints out a string indicating the byte order of the CPU on\n"
00016             "which the program is running.  For this computer, we have:\n\n" ) ;
00017    }
00018 
00019    if( bb == LSB_FIRST )
00020       printf("CPU byte order = LSB_FIRST\n") ;
00021    else
00022       printf("CPU byte order = MSB_FIRST\n") ;
00023    exit(0) ;
00024 }
 | 
 
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
 
 
 
 
       
	   
	   
	   
	  