(Page 5 of 30 in this chapter)
SccpBcdMaskToAscii
Description
- Converts the binary coded hexidecimal mask pointed to by pBcd to an ASCII string of digits.
Prototype
- SCCP_STATUS SccpBcdMaskToAscii (U8 *pBcd,
- U32 nDigits,
- char *pAsciiBuf,
- U32 nAsciiBufLen )
- pBcd The address of a binary coded hexidecimal mask.
- nDigits The number of digits contain in the mask.
- pAsciiBuf The address of a buffer for the converted mask.
- nAsciiBufLen The size of the output buffer in bytes.
Return Values
Details
- The results are placed in the buffer pointed to by pAsciiBuf. If the number of digits is less than the size of the ASCII buffer, the buffer is padded with null characters.
Note: The ASCII string does not end in a null-termination character when the buffer size is exactly the same as the number of digits.
(Page 5 of 30 in this chapter)
tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights
reserved.