[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


_ultoa

This function converts an unsigned long value to a null terminated char array.

Compatibility:

This function is compatible with the following targets:

ANSI
BeOS
EMB/RTOS
Mac OS

Palm OS

Win32


Prototype:
#include <extras.h>
char * _ultoa(unsigned long val, 
  char *str, int radix);
:

Parameters for this function are:

val  
unsigned long  
The integer value to convert  
str  
char *  
The string to store the converted value  
radix  
int  
The numeric base of the number to be converted  

Remarks:

The radix is the base of the number in a range of 2 to 36. . This function is the converse of strtoul() and uses the number represention described there.

Return:

A pointer to the converted string is returned.

See Also:

"_ltoa"

"_itoa"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000