NWLongSwap(3nw)
NWLongSwap --
reverses the order of the bytes on the input long (nuint32) value
Synopsis
#include <nwmisc.h>
or
#include <nwcalls.h>
nuint32 N_API NWLongSwap
(nuint32 swapLong);
Description
The parameters are as follows:
- swapLong
-
(IN) Specifies the long (nuint32) to swap.
Return values
- 0x000
-
SUCCESSFUL
Notices
For example, if the original value was 0x12345678, the return value after calling NWLongSwap is 0x78653412.
Services
Miscellaneous
NCP calls
None
References
NWWordSwap(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.