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


_wtoi

This function converts a null terminated wide char array to an int value.

Compatibility:

This function is compatible with the following targets:

ANSI
BeOS
EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <extras.h>
int _wtoi (const wchar_t *str);
Parameters:

Parameters for this function are:

str  
const wchar_t *  
The string to be converted to an int.  

Remarks:

The _wtoi() function converts the character array pointed to by nptr to an integer value.

This function skips leading white space characters.

This function sets the global variable errno to ERANGE if the converted value cannot be expressed as a value of type int.

Return:

The function _wtoi() returns an the converted integer value.

See Also:

"atoi"


[ 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