ulltoa

Converts an unsigned value into the equivalent string in base notation.

Library:LibC
Classification:Other
Service:General C Services

Syntax

  #include <stdlib.h> 
   
  char ulltoa (
     unit64_t   value,   
     char      *buffer,   
     int        radix);
  

Parameters

value

(IN) Specifies an unsigned 64-bit value.

buffer

(OUT) Points to the character array.

radix

(IN) Specifies the base notation to use when converting the integer.

Return Values

Returns the pointer to the result string.

Remarks

The ulltoa function converts the unsigned value into the equivalent string in base radix notation, storing the result in the character array pointed to by buffer. A null-terminating character is appended to the result. The size of buffer must be at least 33 bytes when converting values in base 2.

See Also