Commit 0c496f02 authored by Alexandre Julliard's avatar Alexandre Julliard

msvcrt: Update comments for non-exported functions.

parent 92e12bb8
......@@ -451,14 +451,18 @@ void CDECL _invalid_parameter_noinfo(void)
MSVCRT__invalid_parameter( NULL, NULL, NULL, 0, 0 );
}
/* _get_invalid_parameter_handler - not exported in native msvcrt, added in msvcr80 */
/*********************************************************************
* _get_invalid_parameter_handler (MSVCR80.@)
*/
MSVCRT_invalid_parameter_handler CDECL _get_invalid_parameter_handler(void)
{
TRACE("\n");
return invalid_parameter_handler;
}
/* _set_invalid_parameter_handler - not exproted in native msvcrt, added in msvcr80 */
/*********************************************************************
* _set_invalid_parameter_handler (MSVCR80.@)
*/
MSVCRT_invalid_parameter_handler CDECL _set_invalid_parameter_handler(
MSVCRT_invalid_parameter_handler handler)
{
......
......@@ -285,14 +285,16 @@ int CDECL _abnormal_termination(void)
}
/******************************************************************
* MSVCRT___uncaught_exception
* __uncaught_exception (MSVCRT.@)
*/
BOOL CDECL MSVCRT___uncaught_exception(void)
{
return FALSE;
}
/* _set_security_error_handler - not exported in native msvcrt, added in msvcr70 */
/*********************************************************************
* _set_security_error_handler (MSVCR70.@)
*/
MSVCRT_security_error_handler CDECL _set_security_error_handler(
MSVCRT_security_error_handler handler )
{
......@@ -304,7 +306,9 @@ MSVCRT_security_error_handler CDECL _set_security_error_handler(
return old;
}
/* __security_error_handler - not exported in native msvcrt */
/*********************************************************************
* __security_error_handler (MSVCR70.@)
*/
void CDECL __security_error_handler(int code, void *data)
{
if(security_error_handler)
......
......@@ -184,9 +184,7 @@ void CDECL MSVCRT_abort(void)
}
/*********************************************************************
* _set_abort_behavior (MSVCRT.@)
*
* Not exported by native msvcrt, added in msvcr80
* _set_abort_behavior (MSVCR80.@)
*/
unsigned int CDECL MSVCRT__set_abort_behavior(unsigned int flags, unsigned int mask)
{
......@@ -327,7 +325,9 @@ int CDECL MSVCRT_atexit(void (*func)(void))
return MSVCRT__onexit((MSVCRT__onexit_t)func) == (MSVCRT__onexit_t)func ? 0 : -1;
}
/* _set_purecall_handler - not exported in native msvcrt */
/*********************************************************************
* _set_purecall_handler (MSVCR71.@)
*/
MSVCRT_purecall_handler CDECL _set_purecall_handler(MSVCRT_purecall_handler function)
{
MSVCRT_purecall_handler ret = purecall_handler;
......
......@@ -1628,7 +1628,9 @@ int CDECL MSVCRT__fstat(int fd, struct MSVCRT__stat* buf)
return ret;
}
/* _fstat32 - not exported in native msvcrt */
/*********************************************************************
* _fstat32 (MSVCR80.@)
*/
int CDECL MSVCRT__fstat32(int fd, struct MSVCRT__stat32* buf)
{
int ret;
......@@ -1640,7 +1642,9 @@ int CDECL MSVCRT__fstat32(int fd, struct MSVCRT__stat32* buf)
return ret;
}
/* _fstat64i32 - not exported in native msvcrt */
/*********************************************************************
* _fstat64i32 (MSVCR80.@)
*/
int CDECL MSVCRT__fstat64i32(int fd, struct MSVCRT__stat64i32* buf)
{
int ret;
......@@ -3976,7 +3980,9 @@ MSVCRT_size_t CDECL MSVCRT_fread(void *ptr, MSVCRT_size_t size, MSVCRT_size_t nm
}
/* fread_s - not exported in native msvcrt */
/*********************************************************************
* fread_s (MSVCR80.@)
*/
MSVCRT_size_t CDECL MSVCRT_fread_s(void *buf, MSVCRT_size_t buf_size, MSVCRT_size_t elem_size,
MSVCRT_size_t count, MSVCRT_FILE *stream)
{
......
......@@ -1455,7 +1455,9 @@ MSVCRT_wchar_t* CDECL MSVCRT__wsetlocale(int category, const MSVCRT_wchar_t* wlo
return ret ? current_lc_all : NULL;
}
/* _configthreadlocale - not exported in native msvcrt */
/*********************************************************************
* _configthreadlocale (MSVCR80.@)
*/
int CDECL _configthreadlocale(int type)
{
thread_data_t *data = msvcrt_get_thread_data();
......
......@@ -2185,7 +2185,9 @@ void __cdecl __libm_sse2_tanf(void)
__asm__ __volatile__( "movd %0,%%xmm0" : : "g" (f) );
}
/* __libm_sse2_sqrt_precise */
/***********************************************************************
* __libm_sse2_sqrt_precise (MSVCR110.@)
*/
void __cdecl __libm_sse2_sqrt_precise(void)
{
double d;
......
......@@ -184,7 +184,9 @@ int CDECL MSVCRT____mb_cur_max_func(void)
return get_locinfo()->mb_cur_max;
}
/* ___mb_cur_max_l_func - not exported in native msvcrt */
/*********************************************************************
* ___mb_cur_max_l_func (MSVCR80.@)
*/
int* CDECL ___mb_cur_max_l_func(MSVCRT__locale_t locale)
{
MSVCRT_pthreadlocinfo locinfo;
......
......@@ -155,7 +155,7 @@ void CDECL _endthreadex(
}
/*********************************************************************
* _getptd - not exported in native msvcrt
* _getptd (MSVCR80.@)
*/
thread_data_t* CDECL _getptd(void)
{
......
......@@ -40,13 +40,17 @@ static BOOL n_format_enabled = TRUE;
#include "printf.h"
#undef PRINTF_WIDE
/* _get_printf_count_output - not exported in native msvcrt */
/*********************************************************************
* _get_printf_count_output (MSVCR80.@)
*/
int CDECL MSVCRT__get_printf_count_output( void )
{
return n_format_enabled ? 1 : 0;
}
/* _set_printf_count_output - not exported in native msvcrt */
/*********************************************************************
* _set_printf_count_output (MSVCR80.@)
*/
int CDECL MSVCRT__set_printf_count_output( int enable )
{
BOOL old = n_format_enabled;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment