File: get-byte-order.c

package info (click to toggle)
ostree 2025.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,996 kB
  • sloc: ansic: 70,831; sh: 15,652; xml: 5,007; yacc: 1,236; javascript: 531; makefile: 243; python: 155
file content (12 lines) | stat: -rw-r--r-- 161 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
/* Helper for OSTree tests: return host byte order */

#include "config.h"

#include <glib.h>

int
main (void)
{
  g_print ("%d\n", G_BYTE_ORDER);
  return 0;
}