Interface ntohs

Inline function

SpaceUser/kernel
ContextSync/async/rt-irq
May blockNo
SPLAny
Dynamic memoryNo

#include <ENDIAN.H>

static __finline__ __u16 ntohs(__u16 x);

Description

This function is equivalent to __16BE2CPU.

Arguments

Returns

A number converted from big-endian to native CPU format.

See also

__SizeFrom2ToConst, htons