Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
#include <stdint.h>

int is_little_endian() {
  union {
    uint16_t value;
    uint8_t bytes[2];
  } test;
  test.value = 1;
  return test.bytes[0] == 1;
}

int main() {
  printf("IS_LITTLE_ENDIAN: %d\n", is_little_endian());
}