diff options
Diffstat (limited to 'src/interp/sys-os.boot')
-rw-r--r-- | src/interp/sys-os.boot | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/interp/sys-os.boot b/src/interp/sys-os.boot index 2e9bf84b..f844fba7 100644 --- a/src/interp/sys-os.boot +++ b/src/interp/sys-os.boot @@ -234,4 +234,11 @@ minusInfinity() == ++ otherwise 0. import std__stream__is__terminal: int -> int for stdStreamIsTerminal ---% +--% Data layout + +++ getHostByteOrder: +++ returns the byte order of the host machine. +++ 0: unknown +++ 1: little endian +++ 2: big endian +import oa__get__host__byteorder: () -> int for getHostByteOrder |