getbyteorder(3) - NetBSD Manual Pages

GETBYTEORDER(3)         NetBSD Library Functions Manual        GETBYTEORDER(3)


NAME
getbyteorder -- get the current byte order
LIBRARY
System Utilities Library (libutil, -lutil)
SYNOPSIS
#include <util.h> #include <sys/endian.h> int getbyteorder(void);
DESCRIPTION
getbyteorder() returns LITTLE_ENDIAN, BIG_ENDIAN, or -1 in case of an error, setting the global errno variable. The possible values for errno are the same as in sysctl(3).
SEE ALSO
sysctl(3)
HISTORY
The getbyteorder() function call appeared in NetBSD 7.0. NetBSD 8.0 May 1, 2013 NetBSD 8.0

Powered by man-cgi (2024-08-26). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.