documentation bug: ENDIAN_SWAP64() macro

Hello everyone and QNX documentation team,

There is a side effect of cut’n’paste technique :slight_smile:

The page
http://www.qnx.com/developer/docs/momentics621_docs/neutrino/lib_ref/e/endian_swap64.html

Synopsis:
#include <gulliver.h>

void ENDIAN_SWAP16( uint64_t * num );

It’s supposed to be:

Synopsis:
#include <gulliver.h>

void ENDIAN_SWAP64( uint64_t * num );

Best regards,
Eduard.

ed1k <ed1k@humber.bay> wrote:
: Hello everyone and QNX documentation team,

: There is a side effect of cut’n’paste technique :slight_smile:

Yup. The data type for the argument in UNALIGNED_RET32() is also wrong.
Thanks for pointing it out.


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems