linuxcnc/docs/man/man3/rtapi_byteorder.3rtapi
Jeff Epler bf9ee2de97 documentation: add manpage for rtapi_byteorder
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2014-10-02 19:19:36 -05:00

55 lines
1.9 KiB
Text

.\" Copyright (c) 2014 Jeff Epler
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, write to the Free
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
.\" USA.
.TH funct "3rtapi" "2014-06-28" "LinuxCNC Documentation" "RTAPI"
.SH NAME
rtapi_byteorder.h \- RTAPI wrappers for linux kernel functionality
.SH SYNTAX
.HP
#include <rtapi_byteorder.h>
.TP
RTAPI_BIG_ENDIAN
Defined to 1 if the platform is big-endian, 0 otherwise
.TP
RTAPI_LITTLE_ENDIAN
Defined to 1 if the platform is little-endian, 0 otherwise
.TP
RTAPI_FLOAT_BIG_ENDIAN
Defined to 1 if the platform double-precision value is big-endian, 0 otherwise.
.SH DESCRIPTION
In kernel space, each rtapi_xxx or RTAPI_XXX identifier is mapped to the
underlying kernel functionality, if available.
In userspace, or in kernels where the underlying functionality is not provided
by a kernel, generally another implementation--possibly with reduced
functionality--is provided. (For example, the userspace implementation for
rtapi_byteorder_register always succeeds)
.SH REALTIME CONSIDERATIONS
May be used at any time.
.SH RETURN VALUE
As in Linux.
.SH SEE ALSO