mirror of
https://github.com/Hizenberg469/C1-Linux_SYS_Prog-AS-.git
synced 2026-04-20 02:42:23 +03:00
machine endianess
This commit is contained in:
26
endianess/endian.h
Normal file
26
endianess/endian.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* =====================================================================================
|
||||
*
|
||||
* Filename: endian.h
|
||||
*
|
||||
* Description:
|
||||
*
|
||||
* Version: 1.0
|
||||
* Created: 29/02/24 10:11:52 AM IST
|
||||
* Revision: none
|
||||
* Compiler: gcc
|
||||
*
|
||||
* Author: YOUR NAME (),
|
||||
* Organization:
|
||||
*
|
||||
* =====================================================================================
|
||||
*/
|
||||
|
||||
#ifndef __ENDIANESS__
|
||||
#define __ENDIANESS__
|
||||
|
||||
/* return 0 - Big endian, 1 for Little endian */
|
||||
int
|
||||
machine_endianness_type();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user