@CHIP-RTOS C Library V2.06 - TCP/IP API
InetToAscii
Convert an IP address to an ASCII dotted decimal
IP string. int InetToAscii ( const unsigned long far *IPAddress,
char far *IPAddressStringPtr ); Parameters
IPAddress
- Pointer to the 32 bit IP address in
network byte order ("big endian").
IPAddressStringPtr
- Output parameter:
Pointer to a 16 character buffer
(minimum)
where a null terminated ASCII string
will be written by this API function containing the
IP address expressed in dotted decimal notation.
Return Value
- Always 0
Comments
- This buffer at IPAddressStringPtr
must have
space for 16 Bytes!.
SC1x3 Comments- This function applies only to IPv4 addresses. The
inet_ntop API can be used
for either IPv4 or IPv6 address conversions.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.00 | V1.00 | V1.00 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|