NWultoa

Converts a long unsigned integer to a string

NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform Localization (LOC*.*)
Service:Internationalization

Syntax

  #include <nwlocale.h> 
   
  pnstr N_API NWultoa  ( 
     nuint32   value,  
     pnstr     buf,  
     nuint     radix); 
  
  

Pascal Syntax

  uses netwin32 
   
  Function NWultoa 
    (value : nuint32; 
     buf : pnstr; 
     radix : nuint 
  ) : pnstr; 
  
  

Parameters

value
(IN) Specifies the long unsigned integer to be converted.
buf
(OUT) Points to the string result.
radix
(IN) Specifies the base of the value parameter (range 2-36).

Return Values

Returns a pointer to the string.

Remarks

NWultoa converts the digits of the specified value parameter to a NULL-terminated character string and stores the results in the buf parameter.

NWultoa returns NULL if an invalid value is passed into the radix parameter.

The buf parameter must be pointing to a buffer large enough to contain the number being converted.

See Also

NWitoa, NWltoa, NWutoa