mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
929 B
30 lines
929 B
/***
|
|
*wtox.c - _wtoi and _wtol conversion
|
|
*
|
|
* Copyright (c) 1993-2001, Microsoft Corporation. All rights reserved.
|
|
*
|
|
*Purpose:
|
|
* Converts a wide character string into an int or long.
|
|
*
|
|
*Revision History:
|
|
* 09-10-93 CFW Module created, based on ASCII version.
|
|
* 10-07-93 CFW Optimize WideCharToMultiByte, use NULL default char.
|
|
* 02-07-94 CFW POSIXify.
|
|
* 03-13-95 CFW Use -1 for length since NT compares past NULLS.
|
|
* 01-19-96 BWT Add __int64 versions.
|
|
* 05-13-96 BWT Fix _NTSUBSET_ version
|
|
* 11-03-76 JWM Fix buffer-size bug in __int64 version.
|
|
* 05-23-00 GB Using ascii version with tchar macros for UNICODE
|
|
* version.
|
|
*
|
|
*******************************************************************************/
|
|
|
|
#ifndef _POSIX_
|
|
|
|
#ifndef _UNICODE
|
|
#define _UNICODE
|
|
#endif
|
|
|
|
#include <wchar.h>
|
|
#include "atox.c"
|
|
#endif /* _POSIX_ */
|