Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 700 → Rev 701

/programs/develop/open watcom/trunk/clib/crt/mdef.inc
File deleted
/programs/develop/open watcom/trunk/clib/crt/langenv.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/extfunc.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/errorno.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/initfini.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/widechar.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/save8087.c
File deleted
/programs/develop/open watcom/trunk/clib/crt/langenvd.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/xinit.inc
File deleted
/programs/develop/open watcom/trunk/clib/crt/stacklow.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/langenv.inc
File deleted
/programs/develop/open watcom/trunk/clib/crt/exitwmsg.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/cstrklbi.asm
File deleted
/programs/develop/open watcom/trunk/clib/crt/commode.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/rtinit.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/xfloat.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/ljmphdl.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/setefg.c
File deleted
/programs/develop/open watcom/trunk/clib/crt/87state.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/seterrno.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/exitwmsg.inc
File deleted
/programs/develop/open watcom/trunk/clib/crt/rtdata.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/ftos.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/farsupp.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/xstring.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/struct.inc
File deleted
/programs/develop/open watcom/trunk/clib/crt/variety.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/initarg.h
File deleted
/programs/develop/open watcom/trunk/clib/crt/kmain.c
File deleted
/programs/develop/open watcom/trunk/clib/crt/ioexit.c
0,0 → 1,84
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: I/O streams shutdown.
*
****************************************************************************/
 
 
#include "variety.h"
#include <stdio.h>
#include "rtdata.h"
 
extern void __purgefp(void);
extern int __shutdown_stream( FILE *fp, int );
 
static int docloseall( unsigned dont_close )
{
FILE *fp;
int number_of_files_closed;
__stream_link *link;
__stream_link *next;
FILE *bottom;
FILE *standards;
int close_handle;
 
bottom = &_RWD_iob[dont_close];
standards = &_RWD_iob[NUM_STD_STREAMS];
number_of_files_closed = 0;
for( link = _RWD_ostream; link != NULL; link = next ) {
next = link->next;
fp = link->stream;
close_handle = 1;
if ((fp->_flag & _DYNAMIC) || (fp->_flag & _TMPFIL))
{
__shutdown_stream( fp, close_handle );
++number_of_files_closed;
}
else if( fp >= bottom ) {
#ifndef __NETWARE__
/* close the file, but leave the handle open */
if( fp < standards ) {
close_handle = 0;
}
#endif
__shutdown_stream( fp, close_handle );
++number_of_files_closed;
}
}
return( number_of_files_closed );
}
 
_WCRTLINK int fcloseall( void )
{
return( docloseall( NUM_STD_STREAMS ) );
}
 
void __full_io_exit( void )
{
docloseall( 0 );
__purgefp();
}
/programs/develop/open watcom/trunk/clib/environ/isattwnt.c
0,0 → 1,54
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: Implementation of isatty() for Win32.
*
****************************************************************************/
 
 
#include "variety.h"
#include <unistd.h>
//#include <windows.h>
//#include "defwin.h"
#include "iomode.h"
#include "fileacc.h"
 
/*
DWORD GetFileType(
HANDLE hFile // handle to file
);
Return value can be:
FILE_TYPE_CHAR The specified file is a character file,
typically an LPT device or a console
*/
 
_WCRTLINK int isatty( int hid )
{
// if( GetFileType( __getOSHandle( hid ) ) == FILE_TYPE_CHAR ) {
// return( 1 );
// }
return( 0 );
}
/programs/develop/open watcom/trunk/clib/h/87state.h
0,0 → 1,45
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: prototype for 8087 save/restore state functions and data
*
****************************************************************************/
 
 
#if defined(_M_IX86)
 
typedef struct _87state { /* 80x87 save area */
#if defined( __386__ )
char data[108]; /* 32-bit save area size */
#else
char data[94]; /* 16-bit save area size */
#endif
} _87state;
 
extern void (*__Save8087)(_87state *);
extern void (*__Rest8087)(_87state *);
 
#endif
/programs/develop/open watcom/trunk/clib/h/errorno.h
30,6 → 30,31
****************************************************************************/
 
 
#if defined(__OS2__) || defined(__NT__)
#if defined(__SW_BM)
 
#include "thread.h"
 
#define _ERRNO (__THREADDATAPTR->__errnoP)
#define _DOSERRNO (__THREADDATAPTR->__doserrnoP)
 
#else
 
#define _ERRNO errno
#define _DOSERRNO _doserrno
 
#endif
#else
// QNX errno is magically multithread aware
// What does NETWARE do?
#if !defined (_NETWARE_LIBC)
#define _ERRNO errno
#else
extern int * ___errno(void);
#define _ERRNO *___errno() /* get LibC errno */
#endif
 
#ifndef __NETWARE__
#define _DOSERRNO _doserrno
#endif
#endif
/programs/develop/open watcom/trunk/clib/h/initarg.h
0,0 → 1,58
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: prototypes for arguments processing variables
*
****************************************************************************/
 
 
#ifndef _INITARG_H_INCLUDED
#define _INITARG_H_INCLUDED
 
extern int __F_NAME(_argc,_wargc); /* argument count */
extern CHAR_TYPE **__F_NAME(_argv,_wargv); /* argument vector */
 
extern void __F_NAME(__Init_Argv,__wInit_Argv)( void );
extern void __F_NAME(__Fini_Argv,__wFini_Argv)( void );
 
_WCRTLINKD extern int __F_NAME(___Argc,___wArgc); /* argument count */
_WCRTLINKD extern CHAR_TYPE**__F_NAME(___Argv,___wArgv); /* argument vector */
 
_WCRTLINKD extern char *_LpCmdLine; /* pointer to command line */
_WCRTLINKD extern char *_LpPgmName; /* pointer to program name */
extern char *_LpDllName; /* pointer to dll name */
 
_WCRTLINKD extern wchar_t *_LpwCmdLine; /* pointer to wide command line */
_WCRTLINKD extern wchar_t *_LpwPgmName; /* pointer to wide program name */
extern wchar_t *_LpwDllName; /* pointer to wide dll name */
 
#if defined(__WINDOWS_386__)
extern char __Is_DLL;
#else
extern int __Is_DLL;
#endif
 
#endif
/programs/develop/open watcom/trunk/clib/h/initfini.h
0,0 → 1,86
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: Init/Fini routines delcarations.
*
****************************************************************************/
 
 
#ifndef _INITFINI_H_INCLUDED
#define _INITFINI_H_INCLUDED
 
#include "variety.h"
#include "rtinit.h"
 
#if defined(__386__)
#define __PARMREG1 eax
#define __PARMREG2 edx
#elif defined(M_I86)
#define __PARMREG1 ax
#define __PARMREG2 dx
#else
#define __PARMREG1
#define __PARMREG2
#endif
 
extern void __InitRtns( unsigned );
// - takes priority limit parm in __PARMREG1
// code will run init routines whose
// priority is <= __PARMREG1 (really [0-255])
// __PARMREG1==255 -> run all init routines
// __PARMREG1==15 -> run init routines whose priority is <= 15
#if defined(_M_IX86)
#pragma aux __InitRtns "*" parm [__PARMREG1]
#if !defined(__386__)
extern void _WCI86FAR __FInitRtns(unsigned);
#pragma aux __FInitRtns "*" parm [__PARMREG1]
#endif
#endif
 
extern void __FiniRtns(unsigned,unsigned);
// - takes priority limit range in __PARMREG1, __PARMREG2
// code will run fini routines whose
// priority is >= __PARMREG1 (really [0-255]) and
// <= __PARMREG2 (really [0-255])
// __PARMREG1==0 ,__PARMREG2==255 -> run all fini routines
// __PARMREG1==16,__PARMREG2==255 -> run fini routines in range 16...255
// __PARMREG1==16,__PARMREG2==40 -> run fini routines in range 16...40
#if defined(_M_IX86)
#pragma aux __FiniRtns "*" parm [__PARMREG1] [__PARMREG2]
#if !defined(__386__)
extern void _WCI86FAR __FFiniRtns( unsigned, unsigned );
#pragma aux __FFiniRtns "*" parm [__PARMREG1] [__PARMREG2]
#endif
#endif
 
#if defined(__OS2__) && defined(__386__)
#define EXIT_PRIORITY_CLIB 0x00009F00
#endif
 
#undef __PARMREG1
#undef __PARMREG2
 
#endif
/programs/develop/open watcom/trunk/clib/h/langenv.inc
0,0 → 1,33
;*****************************************************************************
;*
;* Open Watcom Project
;*
;* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
;*
;* ========================================================================
;*
;* This file contains Original Code and/or Modifications of Original
;* Code as defined in and that are subject to the Sybase Open Watcom
;* Public License version 1.0 (the 'License'). You may not use this file
;* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
;* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
;* provided with the Original Code and Modifications, and is also
;* available at www.sybase.com/developer/opensource.
;*
;* The Original Code and all software distributed under the License are
;* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
;* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
;* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
;* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
;* NON-INFRINGEMENT. Please see the License for the specific language
;* governing rights and limitations under the License.
;*
;* ========================================================================
;*
;* Description: WHEN YOU FIGURE OUT WHAT THIS FILE DOES, PLEASE
;* DESCRIBE IT HERE!
;*
;*****************************************************************************
 
 
COMP_CFG_COFF equ 0
/programs/develop/open watcom/trunk/clib/h/ljmphdl.h
0,0 → 1,50
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: WHEN YOU FIGURE OUT WHAT THIS FILE DOES, PLEASE
* DESCRIBE IT HERE!
*
****************************************************************************/
 
 
#ifndef _LJMPHDL_H_INCLUDED
#define _LJMPHDL_H_INCLUDED
 
#include "variety.h"
 
typedef void (*pfun)( void _WCFAR * );
 
#if defined(__386__)
#pragma aux __arg_convention parm caller [eax dx];
#pragma aux (__arg_convention) pfun;
#elif defined(M_I86)
#pragma aux __arg_convention parm caller [ax dx];
#pragma aux (__arg_convention) pfun;
#endif
 
_WCRTLINKD extern pfun __longjmp_handler;
 
#endif
/programs/develop/open watcom/trunk/clib/h/saferlib.h
0,0 → 1,103
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: Internal data and routines for "Safer C", or bounds-checking
* library extension.
*
****************************************************************************/
 
 
#ifndef _SAFERLIB_H_INCLUDED
#define _SAFERLIB_H_INCLUDED
 
#define __STDC_WANT_LIB_EXT1__ 1
#include <stdlib.h>
#include <stdint.h>
 
// Maximum length of runtime-constraint error message
#define RTCT_MSG_MAX 128
 
#define _RWD_rtcthandler __runtime_constraint_handler
 
extern constraint_handler_t __runtime_constraint_handler;
 
extern void __rtct_fail( const char *fn, const char *reason, void *reserved );
 
// Runtime-constraint validation macros. Call the handler and return zero if check
// failed, return non-zero value if check succeeded.
 
#define __check_constraint_nullptr( arg ) \
((arg == NULL) ? __rtct_fail( __func__, #arg " == NULL", NULL ), 0 : 1)
 
#define __check_constraint_maxsize( arg ) \
((arg > RSIZE_MAX) ? __rtct_fail( __func__, #arg " > RSIZE_MAX", NULL ), 0 : 1)
 
#define __check_constraint_zero( arg ) \
((arg == 0) ? __rtct_fail( __func__, #arg " == 0", NULL ), 0 : 1)
 
#define __check_constraint_toosmall( name, left ) \
((left == 0) ? __rtct_fail( __func__, #name " is too small to hold data", NULL ), 0 : 1)
 
 
// Runtime-constraint validation macros. Construct the message and return
// zero if check failed, return non-zero value if check succeeded.
// __rtct_fail has to be explicitly called later.
 
#define __check_constraint_nullptr_msg( msg, arg ) \
((arg == NULL) ? ( msg = #arg " == NULL" ), 0 : 1)
 
#define __check_constraint_maxsize_msg( msg, arg ) \
((arg > RSIZE_MAX) ? ( msg = #arg " > RSIZE_MAX" ), 0 : 1)
 
#define __check_constraint_zero_msg( msg, arg ) \
((arg == 0) ? ( msg = #arg " == 0" ), 0 : 1)
 
#define __check_constraint_toosmall_msg( msg, name, left ) \
((left == 0) ? ( msg = #name " is too small to hold data" ), 0 : 1)
 
#define __check_constraint_a_gt_b_msg( msg, a, b ) \
((a > b) ? ( msg = #a " > " #b ), 0 : 1)
 
#define __check_constraint_overlap_msg( msg, p1, len1, p2, len2 ) \
(((p1 == p2) || ( (p1 > p2) && ( p1 < (CHAR_TYPE *)p2 + len2 * sizeof( CHAR_TYPE ))) \
|| ( (p2 > p1) && ( p2 < (CHAR_TYPE *)p1 + len1 * sizeof( CHAR_TYPE )))) \
? ( msg = #p1 " overlap " #p2 ), 0 : 1)
 
 
// For 16-bit targets, the RSIZE_MAX check is effectively no-op. Object sizes
// up to SIZE_MAX are legal and not uncommon.
#if RSIZE_MAX == SIZE_MAX
#undef __check_constraint_maxsize
#define __check_constraint_maxsize( arg ) 1
#undef __check_constraint_maxsize_msg
#define __check_constraint_maxsize_msg( msg, arg ) 1
 
#define __lte_rsizmax( arg ) 1
#else
#define __lte_rsizmax( arg ) (arg <= RSIZE_MAX)
#endif
 
#endif // _SAFERLIB_H_INCLUDED
/programs/develop/open watcom/trunk/clib/h/stacklow.h
0,0 → 1,59
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: WHEN YOU FIGURE OUT WHAT THIS FILE DOES, PLEASE
* DESCRIBE IT HERE!
*
****************************************************************************/
 
 
#ifndef _STACKLOW_H_INCLUDED
#define _STACKLOW_H_INCLUDED
 
#define __Align4K( x ) (((x)+0xfffL) & ~0xfffL )
 
#if defined(_M_IX86)
extern unsigned _SP();
#if defined(__386__)
#pragma aux _SP = "mov eax,esp" value [eax];
#else
#pragma aux _SP = "mov ax,sp" value [ax];
#endif
#endif
 
#if defined(__NT__)
void __init_stack_limits( unsigned *stacklow, unsigned *stacktop );
#endif
 
#if defined(__SW_BM)
#include "thread.h"
#define _STACKLOW (__THREADDATAPTR->__stklowP)
#else
extern unsigned _STACKLOW;
#endif
 
#endif
 
/programs/develop/open watcom/trunk/clib/h/strdup.h
0,0 → 1,41
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: WHEN YOU FIGURE OUT WHAT THIS FILE DOES, PLEASE
* DESCRIBE IT HERE!
*
****************************************************************************/
 
 
#ifndef __STRDUP_H_INCLUDED
#define __STRDUP_H_INCLUDED
 
#include "variety.h"
#include "widechar.h"
 
_WCRTLINK extern char *__clib_strdup( const char *str );
_WCRTLINK extern wchar_t *__clib_wcsdup( const wchar_t *str );
#endif
/programs/develop/open watcom/trunk/clib/h/xfloat.h
0,0 → 1,479
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: C/C++ run-time library floating-point definitions.
*
****************************************************************************/
 
 
#ifndef _XFLOAT_H_INCLUDED
#define _XFLOAT_H_INCLUDED
 
#include <stddef.h> // for wchar_t
#include <float.h> // for LDBL_DIG
 
#ifdef __cplusplus
extern "C" {
#endif
 
#if (defined(__386__) || defined(M_I86)) && defined(__WATCOMC__)
#define _LONG_DOUBLE_
#endif
 
typedef struct { // This layout matches Intel 8087
#ifdef _LONG_DOUBLE_
unsigned long low_word; // - low word of fraction
unsigned long high_word; // - high word of fraction
unsigned short exponent; // - exponent and sign
#else // use this for all other 32-bit RISC
union {
double value; // - double value
unsigned long word[2];// - so we can access bits
};
#endif
} long_double;
 
typedef struct { // Layout of IEEE 754 double (FD)
union {
double value; // - double value
unsigned long word[2];// - so we can access bits
};
} float_double;
 
typedef struct { // Layout of IEEE 754 single (FS)
union {
float value; // - double value
unsigned long word; // - so we can access bits
};
} float_single;
 
/* NB: The following values *must* match FP_ macros in math.h! */
enum ld_classification {
__ZERO = 0,
__DENORMAL = 1,
__NONZERO = 2,
__NAN = 3,
__INFINITY = 4
};
 
enum ldcvt_flags {
E_FMT = 0x0001, // 'E' format
F_FMT = 0x0002, // 'F' format
G_FMT = 0x0004, // 'G' format
F_CVT = 0x0008, // __cvt routine format rules
F_DOT = 0x0010, // always put '.' in result
LONG_DOUBLE = 0x0020, // number is true long double
NO_TRUNC = 0x0040, // always provide ndigits in buffer
IN_CAPS = 0x0080, // 'inf'/'nan' is uppercased
};
 
typedef struct cvt_info {
int ndigits; // INPUT: number of digits
int scale; // INPUT: FORTRAN scale factor
int flags; // INPUT: flags (see ldcvt_flags)
int expchar; // INPUT: exponent character to use
int expwidth; // INPUT/OUTPUT: number of exponent digits
int sign; // OUTPUT: 0 => +ve; otherwise -ve
int decimal_place; // OUTPUT: position of '.'
int n1; // OUTPUT: number of leading characters
int nz1; // OUTPUT: followed by this many '0's
int n2; // OUTPUT: followed by these characters
int nz2; // OUTPUT: followed by this many '0's
} CVT_INFO;
 
_WMRTLINK extern void __LDcvt(
long_double *pld, // pointer to long_double
CVT_INFO *cvt, // conversion info
char *buf ); // buffer
#if defined( __WATCOMC__ )
_WMRTLINK extern int __Strtold(
const char *bufptr,
long_double *pld,
char **endptr );
#endif
extern int __LDClass( long_double * );
extern void __ZBuf2LD(char _WCNEAR *, long_double _WCNEAR *);
extern void _LDScale10x(long_double _WCNEAR *,int);
_WMRTLINK extern void __cnvd2ld( double _WCNEAR *src, long_double _WCNEAR *dst );
_WMRTLINK extern void __cnvs2d( char *buf, double *value );
_WMRTLINK extern int __cnvd2f( double *src, float *tgt );
#ifdef _LONG_DOUBLE_
extern void __iLDFD(long_double _WCNEAR *, double _WCNEAR *);
extern void __iLDFS(long_double _WCNEAR *, float _WCNEAR *);
extern void __iFDLD(double _WCNEAR *,long_double _WCNEAR *);
extern void __iFSLD(float _WCNEAR *,long_double _WCNEAR *);
extern long __LDI4(long_double _WCNEAR *);
extern void __I4LD(long,long_double _WCNEAR *);
extern void __U4LD(unsigned long,long_double _WCNEAR *);
extern void __FLDA(long_double _WCNEAR *,long_double _WCNEAR *,long_double _WCNEAR *);
extern void __FLDS(long_double _WCNEAR *,long_double _WCNEAR *,long_double _WCNEAR *);
extern void __FLDM(long_double _WCNEAR *,long_double _WCNEAR *,long_double _WCNEAR *);
extern void __FLDD(long_double _WCNEAR *,long_double _WCNEAR *,long_double _WCNEAR *);
extern int __FLDC(long_double _WCNEAR *,long_double _WCNEAR *);
#endif
 
#ifdef __WATCOMC__
#if defined(__386__)
#pragma aux __ZBuf2LD "*" parm caller [eax] [edx];
#if defined(__FPI__)
extern unsigned __Get87CW(void);
extern void __Set87CW(unsigned short);
#pragma aux __Get87CW = \
"push 0"\
float "fstcw [esp]"\
float "fwait"\
"pop eax"\
value [eax];
#pragma aux __Set87CW = \
"push eax"\
float "fldcw [esp]"\
"pop eax"\
parm caller [eax];
#pragma aux __FLDA = \
float "fld tbyte ptr [eax]"\
float "fld tbyte ptr [edx]"\
float "fadd"\
float "fstp tbyte ptr [ebx]"\
parm caller [eax] [edx] [ebx];
#pragma aux __FLDS = \
float "fld tbyte ptr [eax]"\
float "fld tbyte ptr [edx]"\
float "fsub"\
float "fstp tbyte ptr [ebx]"\
parm caller [eax] [edx] [ebx];
#pragma aux __FLDM = \
float "fld tbyte ptr [eax]"\
float "fld tbyte ptr [edx]"\
float "fmul"\
float "fstp tbyte ptr [ebx]"\
parm caller [eax] [edx] [ebx];
#pragma aux __FLDD = \
float "fld tbyte ptr [eax]"\
float "fld tbyte ptr [edx]"\
float "fdiv"\
float "fstp tbyte ptr [ebx]"\
parm caller [eax] [edx] [ebx];
#pragma aux __FLDC = \
/* ST(1) */\
float "fld tbyte ptr [edx]"\
/* ST(0) */\
float "fld tbyte ptr [eax]"\
/* compare ST(0) with ST(1) */\
float "fcompp"\
float "fstsw ax"\
"sahf"\
"sbb edx,edx"\
"shl edx,1"\
"shl ah,2"\
"cmc"\
"adc edx,0"\
/* edx will be -1,0,+1 if [eax] <, ==, > [edx] */\
parm caller [eax] [edx] value [edx];
#pragma aux __LDI4 = \
float "fld tbyte ptr [eax]"\
"push eax"\
"push eax"\
float "fstcw [esp]"\
float "fwait"\
"pop eax"\
"push eax"\
"or ah,0x0c"\
"push eax"\
float "fldcw [esp]"\
"pop eax"\
float "fistp dword ptr 4[esp]"\
float "fldcw [esp]"\
"pop eax"\
"pop eax"\
parm caller [eax] value [eax];
#pragma aux __I4LD = \
"push eax"\
float "fild dword ptr [esp]"\
"pop eax"\
float "fstp tbyte ptr [edx]"\
parm caller [eax] [edx];
#pragma aux __U4LD = \
"push 0"\
"push eax"\
float "fild qword ptr [esp]"\
"pop eax"\
"pop eax"\
float "fstp tbyte ptr [edx]"\
parm caller [eax] [edx];
#pragma aux __iFDLD = \
float "fld qword ptr [eax]"\
float "fstp tbyte ptr [edx]"\
parm caller [eax] [edx];
#pragma aux __iFSLD = \
float "fld dword ptr [eax]"\
float "fstp tbyte ptr [edx]"\
parm caller [eax] [edx];
#pragma aux __iLDFD = \
float "fld tbyte ptr [eax]"\
float "fstp qword ptr [edx]"\
parm caller [eax] [edx];
#pragma aux __iLDFS = \
float "fld tbyte ptr [eax]"\
float "fstp dword ptr [edx]"\
parm caller [eax] [edx];
#else // floating-point calls
#pragma aux __FLDA "*" parm caller [eax] [edx] [ebx];
#pragma aux __FLDS "*" parm caller [eax] [edx] [ebx];
#pragma aux __FLDM "*" parm caller [eax] [edx] [ebx];
#pragma aux __FLDD "*" parm caller [eax] [edx] [ebx];
#pragma aux __LDI4 "*" parm caller [eax] value [eax];
#pragma aux __I4LD "*" parm caller [eax] [edx];
#pragma aux __U4LD "*" parm caller [eax] [edx];
#pragma aux __iFDLD "*" parm caller [eax] [edx];
#pragma aux __iFSLD "*" parm caller [eax] [edx];
#pragma aux __iLDFD "*" parm caller [eax] [edx];
#pragma aux __iLDFS "*" parm caller [eax] [edx];
#pragma aux __FLDC "*" parm caller [eax] [edx] value [eax];
#endif
#elif defined(M_I86) // 16-bit pragmas
#pragma aux __ZBuf2LD "*" parm caller [ax] [dx];
#if defined(__FPI__)
extern unsigned __Get87CW(void);
extern void __Set87CW(unsigned short);
#pragma aux __Get87CW = \
"push ax"\
"push bp"\
"mov bp,sp"\
float "fstcw 2[bp]"\
float "fwait"\
"pop bp"\
"pop ax"\
value [ax];
#pragma aux __Set87CW = \
"push ax"\
"push bp"\
"mov bp,sp"\
float "fldcw 2[bp]"\
"pop bp"\
"pop ax"\
parm caller [ax];
#pragma aux __FLDA = \
"push bp"\
"mov bp,ax"\
float "fld tbyte ptr [bp]"\
"mov bp,dx"\
float "fld tbyte ptr [bp]"\
float "fadd"\
"mov bp,bx"\
float "fstp tbyte ptr [bp]"\
"pop bp"\
parm caller [ax] [dx] [bx];
#pragma aux __FLDS = \
"push bp"\
"mov bp,ax"\
float "fld tbyte ptr [bp]"\
"mov bp,dx"\
float "fld tbyte ptr [bp]"\
float "fsub"\
"mov bp,bx"\
float "fstp tbyte ptr [bp]"\
"pop bp"\
parm caller [ax] [dx] [bx];
#pragma aux __FLDM = \
"push bp"\
"mov bp,ax"\
float "fld tbyte ptr [bp]"\
"mov bp,dx"\
float "fld tbyte ptr [bp]"\
float "fmul"\
"mov bp,bx"\
float "fstp tbyte ptr [bp]"\
"pop bp"\
parm caller [ax] [dx] [bx];
#pragma aux __FLDD = \
"push bp"\
"mov bp,ax"\
float "fld tbyte ptr [bp]"\
"mov bp,dx"\
float "fld tbyte ptr [bp]"\
float "fdiv"\
"mov bp,bx"\
float "fstp tbyte ptr [bp]"\
"pop bp"\
parm caller [ax] [dx] [bx];
#pragma aux __FLDC = \
"push bp"\
"mov bp,dx"\
/* ST(1) */\
float "fld tbyte ptr [bp]"\
"mov bp,ax"\
/* ST(0) */\
float "fld tbyte ptr [bp]"\
/* compare ST(0) with ST(1) */\
float "fcompp"\
"push ax"\
"mov bp,sp"\
float "fstsw 0[bp]"\
float "fwait"\
"pop ax"\
"sahf"\
"sbb dx,dx"\
"shl dx,1"\
"shl ah,1"\
"shl ah,1"\
"cmc"\
"adc dx,0"\
"pop bp"\
parm caller [ax] [dx] value [dx];
#pragma aux __LDI4 = \
"push bp"\
"mov bp,ax"\
float "fld tbyte ptr [bp]"\
"push dx"\
"push ax"\
"push ax"\
"mov bp,sp"\
float "fstcw [bp]"\
float "fwait"\
"pop ax"\
"push ax"\
"or ah,0x0c"\
"mov 2[bp],ax"\
float "fldcw 2[bp]"\
float "fistp dword ptr 2[bp]"\
float "fldcw [bp]"\
"pop ax"\
"pop ax"\
"pop dx"\
"pop bp"\
parm caller [ax] value [dx ax];
#pragma aux __I4LD = \
"push bp"\
"push dx"\
"push ax"\
"mov bp,sp"\
float "fild dword ptr [bp]"\
"pop ax"\
"pop dx"\
"mov bp,bx"\
float "fstp tbyte ptr [bp]"\
"pop bp"\
parm caller [dx ax] [bx];
#pragma aux __U4LD = \
"push bp"\
"push ax"\
"push ax"\
"push dx"\
"push ax"\
"mov bp,sp"\
"sub ax,ax"\
"mov 4[bp],ax"\
"mov 6[bp],ax"\
float "fild qword ptr 2[bp]"\
"pop ax"\
"pop dx"\
"pop ax"\
"pop ax"\
"mov bp,bx"\
float "fstp tbyte ptr [bp]"\
"pop bp"\
parm caller [dx ax] [bx];
#pragma aux __iFDLD = \
"push bp"\
"mov bp,ax"\
float "fld qword ptr [bp]"\
"mov bp,dx"\
float "fstp tbyte ptr [bp]"\
"pop bp"\
parm caller [ax] [dx];
#pragma aux __iFSLD = \
"push bp"\
"mov bp,ax"\
float "fld dword ptr [bp]"\
"mov bp,dx"\
float "fstp tbyte ptr [bp]"\
"pop bp"\
parm caller [ax] [dx];
#pragma aux __iLDFD = \
"push bp"\
"mov bp,ax"\
float "fld tbyte ptr [bp]"\
"mov bp,dx"\
float "fstp qword ptr [bp]"\
"pop bp"\
parm caller [ax] [dx];
#pragma aux __iLDFS = \
"push bp"\
"mov bp,ax"\
float "fld tbyte ptr [bp]"\
"mov bp,dx"\
float "fstp dword ptr [bp]"\
"pop bp"\
parm caller [ax] [dx];
#else // floating-point calls
#pragma aux __FLDA "*" parm caller [ax] [dx] [bx];
#pragma aux __FLDS "*" parm caller [ax] [dx] [bx];
#pragma aux __FLDM "*" parm caller [ax] [dx] [bx];
#pragma aux __FLDD "*" parm caller [ax] [dx] [bx];
#pragma aux __LDI4 "*" parm caller [ax] value [dx ax];
#pragma aux __I4LD "*" parm caller [dx ax] [bx];
#pragma aux __U4LD "*" parm caller [dx ax] [bx];
#pragma aux __iFDLD "*" parm caller [ax] [dx];
#pragma aux __iFSLD "*" parm caller [ax] [dx];
#pragma aux __iLDFD "*" parm caller [ax] [dx];
#pragma aux __iLDFS "*" parm caller [ax] [dx];
#pragma aux __FLDC "*" parm caller [ax] [dx] value [ax];
#endif
#endif
#endif
 
#ifdef _LONG_DOUBLE_
// macros to allow old source code names to still work
#define __FDLD __iFDLD
#define __FSLD __iFSLD
#define __LDFD __iLDFD
#define __LDFS __iLDFS
#endif
 
// define number of significant digits for long double numbers (80-bit)
// it will be defined in float.h as soon as OW support long double
// used in mathlib/c/ldcvt.c
 
#ifdef _LONG_DOUBLE_
#if LDBL_DIG == 15
#undef LDBL_DIG
#define LDBL_DIG 19
#else
#error LDBL_DIG has changed from 15
#endif
#endif
 
// floating point conversion buffer length definition
// used by various floating point conversion routines
// used in clib/startup/c/cvtbuf.c and lib_misc/h/thread.h
// it must be equal maximum FP precision ( LDBL_DIG )
 
#define __FPCVT_BUFFERLEN 19
 
#ifdef __cplusplus
};
#endif
#endif
/programs/develop/open watcom/trunk/clib/h/xinit.inc
0,0 → 1,109
;*****************************************************************************
;*
;* Open Watcom Project
;*
;* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
;*
;* ========================================================================
;*
;* This file contains Original Code and/or Modifications of Original
;* Code as defined in and that are subject to the Sybase Open Watcom
;* Public License version 1.0 (the 'License'). You may not use this file
;* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
;* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
;* provided with the Original Code and Modifications, and is also
;* available at www.sybase.com/developer/opensource.
;*
;* The Original Code and all software distributed under the License are
;* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
;* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
;* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
;* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
;* NON-INFRINGEMENT. Please see the License for the specific language
;* governing rights and limitations under the License.
;*
;* ========================================================================
;*
;* Description: WHEN YOU FIGURE OUT WHAT THIS FILE DOES, PLEASE
;* DESCRIBE IT HERE!
;*
;*****************************************************************************
 
 
include langenv.inc
 
PNEAR equ 0
PFAR equ 1
 
xinit macro rtn,priority
XI segment word public 'DATA'
if _MODEL and _BIG_CODE
db PFAR
db priority
dd rtn
else
if _MODEL and _USE_32_SEGS
db PNEAR
db priority
dd rtn
if COMP_CFG_COFF EQ 1
dw 0
endif
else
db PNEAR
db priority
dw rtn
dw 0
endif
endif
XI ends
endm
 
xfini macro rtn,priority
YI segment word public 'DATA'
if _MODEL and _BIG_CODE
db PFAR
db priority
dd rtn
else
if _MODEL and _USE_32_SEGS
db PNEAR
db priority
dd rtn
if COMP_CFG_COFF EQ 1
dw 0
endif
else
db PNEAR
db priority
dw rtn
dw 0
endif
endif
YI ends
endm
 
INIT_PRIORITY_THREAD equ 1 ; priority for thread data init
INIT_PRIORITY_FPU equ 2 ; priority for FPU/EMU init
INIT_PRIORITY_RUNTIME equ 10 ; priority for run-time initialization
INIT_PRIORITY_IOSTREAM equ 20 ; priority for IOSTREAM
INIT_PRIORITY_LIBRARY equ 32 ; default library-initialization priority
DEF_PRIORITY equ 32 ; ...
INIT_PRIORITY_PROGRAM equ 64 ; default program-initialization priority
DTOR_PRIORITY equ 40 ; priority for module DTOR
 
DGROUP group XIB,XI,XIE,YIB,YI,YIE
 
XIB segment word public 'DATA'
XIB ends
XI segment word public 'DATA'
XI ends
XIE segment word public 'DATA'
XIE ends
 
YIB segment word public 'DATA'
YIB ends
YI segment word public 'DATA'
YI ends
YIE segment word public 'DATA'
YIE ends
/programs/develop/open watcom/trunk/clib/handleio/openklbr.c
0,0 → 1,399
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: Win32 implementation of open() and sopen().
*
****************************************************************************/
 
 
#include "variety.h"
#include "widechar.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <errno.h>
#include <io.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <share.h>
#include "liballoc.h"
#include "iomode.h"
#include "fileacc.h"
#include "openmode.h"
#include "rtdata.h"
#include "seterrno.h"
 
extern unsigned __NFiles;
extern char *__appcwd;
extern int __appcwdlen;
 
#if (defined(__WINDOWS__) || defined(__NT__))
 
typedef struct
{ DWORD attr;
DWORD flags;
DWORD cr_time;
DWORD cr_date;
DWORD acc_time;
DWORD acc_date;
DWORD mod_time;
DWORD mod_date;
DWORD size;
DWORD size_high;
} FILEINFO;
 
int _stdcall get_fileinfo(const char *name,FILEINFO* pinfo);
int _stdcall create_file(const char *name);
 
 
typedef struct
{
char *name;
unsigned int offset;
}__file_handle;
 
 
char* getfullpath(const char* path)
{
int prev_is_slash=0;
int len=0, depth=0, i;
char* buff;
char c;
if(*path == '/')
{
buff = (char*)lib_malloc(strlen(path)+1);
buff[0] = '\0';
len=0;
}
else
{
len= __appcwdlen;
buff = (char*)lib_malloc(len+strlen(path)+1);
strncpy(buff, __appcwd, __appcwdlen);
prev_is_slash = 1;
buff[len] = 0;
for(i=0; buff[i]; i++)
if(buff[i] == '/' && i < len-1) depth++;
}
while(c=*path++)
{
switch (c)
{
case '.':
if((*path == '.')&&
(*path+1)== '/')
{ if(!depth)
{ free(buff);
return 0;
};
buff[len-1] = 0;
len = strrchr(buff, '/') + 1 - buff;
buff[len] = 0;
depth--;
path +=2;
prev_is_slash = 1;
continue;
}
if(*path == '/')
{
path++;
prev_is_slash = 1;
continue;
}
buff[len++] = c;
continue;
case '/':
prev_is_slash = 1;
buff[len++] = c;
continue;
default:
prev_is_slash = 0;
buff[len++] = c;
continue;
};
};
buff[len]= '\0';
return buff;
};
 
 
size_t FileSize(FILE *fp)
{
int hdl;
__file_handle *fh;
FILEINFO info;
 
hdl = fileno( fp );
// __handle_check( hdl, -1 );
 
fh = (__file_handle*) __getOSHandle(hdl);
 
get_fileinfo(fh->name,&info);
return info.size;
}
 
int access(const char *path, int mode)
{ size_t retval;
FILEINFO info;
char *p;
 
p = getfullpath(path);
retval=get_fileinfo(p,&info);
free(p);
return retval;
 
}
 
static HANDLE __openFileHandle(const CHAR_TYPE *name, int mode)
{
FILEINFO info;
__file_handle *handle;
char *path;
int err;
path = getfullpath(name);
if(err=get_fileinfo(path,&info))
{
// printf("failed getfileinfo %s\n\r", path);
if(mode & O_CREAT)
err=create_file(path);
if(err)
{
lib_free(path);
return (HANDLE)-1;
};
};
if ( !(handle=(__file_handle*)lib_malloc(sizeof( __file_handle) )))
{ lib_free(path);
return (HANDLE)-1;
};
handle->name = path;
handle->offset = 0;
 
return (HANDLE)handle;
};
 
 
static int __F_NAME(_sopen,__wsopen)( const CHAR_TYPE *name, int mode, int share, va_list args )
{
HANDLE handle;
int hid, rwmode;
unsigned iomode_flags;
 
// First try to get the required slot.
// No point in creating a file only to not use it. JBS 99/10/26
hid = __allocPOSIXHandle( DUMMY_HANDLE );
if( hid == -1 )
{
return( -1 );
}
 
rwmode = mode;
 
 
/*** Open the file ***/
handle = __openFileHandle( name, mode);
if( handle==(HANDLE)-1 )
{
__freePOSIXHandle( hid );
return( -1 ); //error
}
 
// Now use the slot we got.
__setOSHandle( hid, handle ); // JBS 99/11/01
 
iomode_flags = 0;
 
 
if( rwmode == O_RDWR ) iomode_flags |= _READ | _WRITE;
else if( rwmode == O_RDONLY) iomode_flags |= _READ;
else if( rwmode == O_WRONLY) iomode_flags |= _WRITE;
if( mode & O_APPEND ) iomode_flags |= _APPEND;
if( mode & (O_BINARY|O_TEXT) ) {
if( mode & O_BINARY ) iomode_flags |= _BINARY;
} else {
if( _RWD_fmode == O_BINARY ) iomode_flags |= _BINARY;
}
__SetIOMode( hid, iomode_flags );
return( hid );
}
 
#elif
static int __F_NAME(_sopen,__wsopen)( const CHAR_TYPE *name, int mode, int share, va_list args )
{
DWORD create_disp, exists_disp;
DWORD perm, fileattr;
DWORD desired_access, share_mode;
SECURITY_ATTRIBUTES security;
HANDLE handle;
int hid, rwmode;
unsigned iomode_flags;
 
// First try to get the required slot.
// No point in creating a file only to not use it. JBS 99/10/26
hid = __allocPOSIXHandle( DUMMY_HANDLE );
if( hid == -1 ) {
return( -1 );
}
 
rwmode = mode & OPENMODE_ACCESS_MASK;
__GetNTAccessAttr( rwmode, &desired_access, &perm );
__GetNTShareAttr( share|rwmode, &share_mode );
fileattr = FILE_ATTRIBUTE_NORMAL;
 
security.nLength = sizeof( SECURITY_ATTRIBUTES );
security.lpSecurityDescriptor = NULL;
security.bInheritHandle = mode&O_NOINHERIT ? FALSE : TRUE;
 
#ifdef DEFAULT_WINDOWING
#ifdef __WIDECHAR__
if( _WindowsNewWindow != 0 && !_wcsicmp( name, L"con" ) )
#else
if( _WindowsNewWindow != 0 && !stricmp( name, "con" ) )
#endif
{
handle = (HANDLE) __NTGetFakeHandle();
 
// Now use the slot we got.
__setOSHandle( hid, handle ); // JBS 99/11/01
_WindowsNewWindow( NULL, hid, -1 );
 
iomode_flags = _ISTTY;
} else {
#endif
if( mode & O_CREAT ) {
perm = va_arg( args, int );
va_end( args );
perm &= ~_RWD_umaskval; /* 05-jan-95 */
if( ( perm & S_IREAD ) && !( perm & S_IWRITE ) ) {
fileattr = FILE_ATTRIBUTE_READONLY;
}
if( mode & O_EXCL ) {
create_disp = CREATE_NEW;
exists_disp = CREATE_NEW;
} else if( mode & O_TRUNC ) {
create_disp = CREATE_ALWAYS;
exists_disp = CREATE_NEW;
} else {
create_disp = OPEN_ALWAYS;
exists_disp = OPEN_EXISTING;
}
} else if( mode & O_TRUNC ) {
exists_disp = TRUNCATE_EXISTING;
} else {
exists_disp = OPEN_EXISTING;
}
 
/*** Open the file ***/
#ifdef __WIDECHAR__
handle = __lib_CreateFileW( name, desired_access, share_mode,
&security, exists_disp, fileattr,
NULL );
#else
handle = CreateFileA( name, desired_access, share_mode,
&security, exists_disp, fileattr, NULL );
#endif
if( handle==(HANDLE)-1 ) {
if( mode&O_CREAT ) {
#ifdef __WIDECHAR__
handle = __lib_CreateFileW( name, desired_access,
share_mode, NULL, create_disp,
fileattr, NULL );
#else
handle = CreateFileA( name, desired_access,
share_mode, NULL, create_disp,
fileattr, NULL );
#endif
}
if( handle == (HANDLE)-1 ) {
__freePOSIXHandle( hid );
return( __set_errno_nt() );
}
}
 
// Now use the slot we got.
__setOSHandle( hid, handle ); // JBS 99/11/01
 
iomode_flags = 0;
 
if( isatty(hid) ) {
iomode_flags = _ISTTY;
}
#ifdef DEFAULT_WINDOWING
}
#endif
 
if( rwmode == O_RDWR ) iomode_flags |= _READ | _WRITE;
else if( rwmode == O_RDONLY) iomode_flags |= _READ;
else if( rwmode == O_WRONLY) iomode_flags |= _WRITE;
if( mode & O_APPEND ) iomode_flags |= _APPEND;
if( mode & (O_BINARY|O_TEXT) ) {
if( mode & O_BINARY ) iomode_flags |= _BINARY;
} else {
if( _RWD_fmode == O_BINARY ) iomode_flags |= _BINARY;
}
__SetIOMode( hid, iomode_flags );
return( hid );
}
#endif
 
_WCRTLINK int __F_NAME(open,_wopen)( const CHAR_TYPE *name, int mode, ... )
{
int permission;
va_list args;
 
va_start( args, mode );
permission = va_arg( args, int );
va_end( args );
return( __F_NAME(sopen,_wsopen)( name, mode, SH_COMPAT, permission ) );
}
 
 
_WCRTLINK int __F_NAME(sopen,_wsopen)( const CHAR_TYPE *name, int mode, int shflag, ... )
{
va_list args;
 
va_start( args, shflag );
return( __F_NAME(_sopen,__wsopen)( name, mode, shflag, args ) );
}
/programs/develop/open watcom/trunk/clib/handleio/tell.c
0,0 → 1,41
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: WHEN YOU FIGURE OUT WHAT THIS FILE DOES, PLEASE
* DESCRIBE IT HERE!
*
****************************************************************************/
 
 
#include "variety.h"
#include <sys/types.h>
#include <unistd.h>
#include "lseek.h"
 
_WCRTLINK long int tell( int handle )
{
return( __lseek( handle, 0L, SEEK_CUR ) );
}
/programs/develop/open watcom/trunk/clib/mbyte/mbinit.c
0,0 → 1,306
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: WHEN YOU FIGURE OUT WHAT THIS FILE DOES, PLEASE
* DESCRIBE IT HERE!
*
****************************************************************************/
 
 
#include "variety.h"
 
#include <string.h>
#include <mbstring.h>
#include "mbchar.h"
 
 
unsigned int __MBCodePage = 0; /* default code page */
 
static void set_dbcs_table( int low, int high )
{
memset( __MBCSIsTable + low + 1, _MB_LEAD, high - low + 1 );
}
 
static void clear_dbcs_table( void )
{
__IsDBCS = 0; /* SBCS for now */
__MBCodePage = 0;
memset( __MBCSIsTable, 0, 257 );
}
 
/****
***** Initialize a multi-byte character set. Returns 0 on success.
****/
 
int __mbinit( int codepage )
{
 
/*** Handle values from _setmbcp ***/
if( codepage == _MBINIT_CP_ANSI )
{
codepage = 0;
}
else
if( codepage == _MBINIT_CP_OEM )
{
codepage = 0;
}
else
if( codepage == _MBINIT_CP_SBCS )
{
clear_dbcs_table();
return( 0 );
}
else
if( codepage == _MBINIT_CP_932 )
{
clear_dbcs_table();
set_dbcs_table( 0x81, 0x9F );
set_dbcs_table( 0xE0, 0xFC );
__IsDBCS = 1;
__MBCodePage = 932;
return( 0 );
}
return( 0 ); /* return success code */
}
 
 
 
/****
***** Query DOS to find the valid lead byte ranges.
****/
 
#if defined(__DOS__) && !defined(__OSI__)
#ifndef __386__
 
// for some unknown reason NT DPMI returns for DOS service 6300h
// Carry=0, odd SI value and DS stay unchanged
// this case is also tested as wrong int 21h result
#if 1
#pragma aux dos_get_dbcs_lead_table = \
"push ds" \
"xor ax,ax" \
"mov ds,ax" \
"mov ah,63h" /* get DBCS vector table */ \
"int 21h" \
"mov di,ds" \
"jnc label1" \
"xor di,di" \
"label1:" \
"test di,di" \
"jnz exit1" \
"mov si,di" \
"exit1:" \
"pop ds" \
value [di si] \
modify [ax bx cx dx si di es];
#else
unsigned short _WCFAR *dos_get_dbcs_lead_table( void )
/****************************************************/
{
union REGS regs;
struct SREGS sregs;
 
regs.w.ax = 0x6300; /* get lead byte table code */
sregs.ds = 0;
sregs.es = 0;
intdosx( &regs, &regs, &sregs ); /* call DOS */
if( regs.w.cflag || ( sregs.ds == 0 )) /* ensure function succeeded */
return( NULL );
return( MK_FP( sregs.ds, regs.w.si ) ); /* return pointer to table */
}
#endif
 
#if 0
unsigned short dos_get_code_page( void )
/**************************************/
{
union REGS regs;
struct SREGS sregs;
unsigned char buf[7];
 
regs.w.ax = 0x6501; /* get international info */
regs.w.bx = 0xFFFF; /* global code page */
regs.w.cx = 7; /* buffer size */
regs.w.dx = 0xFFFF; /* current country */
regs.w.di = FP_OFF( (void __far*)buf ); /* buffer offset */
sregs.es = FP_SEG( (void __far*)buf ); /* buffer segment */
sregs.ds = 0; /* in protected mode (dos16m) DS must be initialized */
intdosx( &regs, &regs, &sregs ); /* call DOS */
if( regs.w.cflag ) return( 0 ); /* ensure function succeeded */
return( * (unsigned short*)(buf+5) ); /* return code page */
}
#else
#pragma aux dos_get_code_page = \
"push ds" \
"push bp" \
"mov bp,sp" \
"sub sp,8" \
"xor ax,ax" \
"mov ds,ax" \
"mov ax,6501h" /* get international info */ \
"mov bx,0ffffh" /* global code page */ \
"mov cx,0007h" /* buffer size */ \
"mov dx,0ffffh" /* current country */ \
"lea di,[bp-8]" /* buffer offset */ \
"push ss" \
"pop es" /* buffer segment */ \
"int 21h" /* call DOS */ \
"mov ax,[bp-8+5]" /* code page */ \
"jnc NoError" \
"xor ax,ax" \
"NoError:" \
"mov sp,bp" \
"pop bp" \
"pop ds" \
value [ax] \
modify [ax bx cx dx di es];
#endif
 
#else
 
 
#pragma pack(__push,1);
typedef struct {
unsigned short int_num;
unsigned short real_ds;
unsigned short real_es;
unsigned short real_fs;
unsigned short real_gs;
unsigned long real_eax;
unsigned long real_edx;
} PHARLAP_block;
#pragma pack(__pop);
 
unsigned short _WCFAR *dos_get_dbcs_lead_table( void )
/****************************************************/
{
union REGPACK regs;
 
if( _IsPharLap() ) {
PHARLAP_block pblock;
 
memset( &pblock, 0, sizeof( pblock ) );
memset( &regs, 0, sizeof( regs ) );
pblock.real_eax = 0x6300; /* get DBCS vector table */
pblock.int_num = 0x21; /* DOS call */
regs.x.eax = 0x2511; /* issue real-mode interrupt */
regs.x.edx = FP_OFF( &pblock ); /* DS:EDX -> parameter block */
regs.w.ds = FP_SEG( &pblock );
intr( 0x21, &regs );
if( pblock.real_ds != 0xFFFF ) { /* weird OS/2 value */
return( MK_FP( _ExtenderRealModeSelector,
(((unsigned)pblock.real_ds)<<4) + regs.w.si ) );
}
} else if( _IsRational() ) {
rm_call_struct dblock;
 
memset( &dblock, 0, sizeof( dblock ) );
dblock.eax = 0x6300; /* get DBCS vector table */
DPMISimulateRealModeInterrupt( 0x21, 0, 0, &dblock );
if( (dblock.flags & 1) == 0 ) {
return( MK_FP( _ExtenderRealModeSelector,
(((unsigned)dblock.ds)<<4) + dblock.esi ) );
}
}
return( NULL );
}
 
unsigned short dos_get_code_page( void )
/**************************************/
{
union REGPACK regs;
unsigned short __far * temp;
unsigned short real_seg;
unsigned short codepage = 0;
 
 
/*** Get the code page ***/
if( _IsPharLap() ) {
union REGS r;
PHARLAP_block pblock;
 
/*** Alloc DOS Memory under Phar Lap ***/
memset( &r, 0, sizeof( r ) );
r.x.ebx = 1;
r.x.eax = 0x25c0;
intdos( &r, &r );
real_seg = r.w.ax;
 
memset( &pblock, 0, sizeof( pblock ) );
memset( &regs, 0, sizeof( regs ) );
pblock.real_eax = 0x6501; /* get international info */
pblock.real_edx = 0xFFFF; /* current country */
pblock.real_es = real_seg; /* buffer segment */
regs.x.ebx = 0xFFFF; /* global code page */
regs.x.ecx = 7; /* buffer size */
regs.x.edi = 0; /* buffer offset */
pblock.int_num = 0x21; /* DOS call */
regs.x.eax = 0x2511; /* issue real-mode interrupt */
regs.x.edx = FP_OFF( &pblock ); /* DS:EDX -> parameter block */
regs.w.ds = FP_SEG( &pblock );
intr( 0x21, &regs );
if( pblock.real_ds != 0xFFFF ) { /* weird OS/2 value */
temp = MK_FP( _ExtenderRealModeSelector, (real_seg<<4) + 5 );
codepage = *temp;
}
 
/*** Free DOS Memory under Phar Lap ***/
r.x.ecx = real_seg;
r.x.eax = 0x25c1;
intdos( &r, &r );
} else if( _IsRational() ) {
unsigned long dpmi_rc;
unsigned short selector;
rm_call_struct dblock;
 
/*** Allocate some DOS memory with DPMI ***/
dpmi_rc = DPMIAllocateDOSMemoryBlock( 1 ); /* one paragraph is enough */
real_seg = (unsigned short) dpmi_rc;
selector = (unsigned short) (dpmi_rc>>16);
 
memset( &dblock, 0, sizeof( dblock ) );
dblock.eax = 0x6501; /* get international info */
dblock.ebx = 0xFFFF; /* global code page */
dblock.ecx = 7; /* buffer size */
dblock.edx = 0xFFFF; /* current country */
dblock.edi = 0; /* buffer offset */
dblock.es = real_seg; /* buffer segment */
DPMISimulateRealModeInterrupt( 0x21, 0, 0, &dblock );
if( (dblock.flags & 1) == 0 ) {
temp = MK_FP( _ExtenderRealModeSelector, (real_seg<<4) + 5 );
codepage = *temp;
}
/*** Free DOS memory with DPMI ***/
DPMIFreeDOSMemoryBlock( selector );
}
 
return( codepage );
}
 
 
#endif
#endif
/programs/develop/open watcom/trunk/clib/mbyte/mbisdbcs.c
0,0 → 1,37
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: WHEN YOU FIGURE OUT WHAT THIS FILE DOES, PLEASE
* DESCRIBE IT HERE!
*
****************************************************************************/
 
 
#include "variety.h"
#include <mbstring.h>
#include "rtinit.h"
 
_WCRTLINKD int __IsDBCS;
/programs/develop/open watcom/trunk/clib/mbyte/mbislead.c
0,0 → 1,59
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: WHEN YOU FIGURE OUT WHAT THIS FILE DOES, PLEASE
* DESCRIBE IT HERE!
*
****************************************************************************/
 
 
#include "variety.h"
#include <mbstring.h>
#include "mbchar.h"
#include "rtinit.h"
 
_WCRTLINKD unsigned char __MBCSIsTable[257];
 
/**
* Determine whether or not the specified byte is a lead byte.
*/
 
_WCRTLINK int (_ismbblead)( const unsigned int ch )
{
return( __MBCSIsTable[ch+1] & _MB_LEAD );
}
 
/**
* If this module is linked in, the startup code will call this function,
* which will initialize the default multibyte code page.
*/
 
static void __mbInitOnStartup( void )
{
__mbinit( 0 );
}
 
AXI( __mbInitOnStartup, INIT_PRIORITY_LIBRARY )
/programs/develop/open watcom/trunk/clib/mbyte/mbtowc.c
0,0 → 1,70
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: WHEN YOU FIGURE OUT WHAT THIS FILE DOES, PLEASE
* DESCRIBE IT HERE!
*
****************************************************************************/
 
 
#include "variety.h"
#include <mbstring.h>
#include "farfunc.h"
 
 
 
/****
***** Convert a multibyte character to a wide character.
****/
 
_WCRTLINK int _NEARFAR(mbtowc,_fmbtowc)( wchar_t _FFAR *pwc, const char _FFAR *ch, size_t n )
{
 
/*** Catch special cases ***/
if( ch == NULL ) return( 0 );
if( n == 0 ) return( -1 );
if( *ch == '\0' ) {
if( pwc != NULL ) *pwc = L'\0';
return( 0 );
}
if( _ismbblead( ch[0] ) && ch[1] == '\0' ) return( -1 ); /* invalid */
 
/*** Convert the character ***/
if( _ismbblead(*ch) && n>=2 ) { /* lead byte present? */
if( pwc != NULL ) {
*pwc = (((wchar_t)ch[0])<<8) | /* convert to lead:trail */
(wchar_t)ch[1];
}
return( 2 ); /* return char size */
} else if( !_ismbblead(*ch) ) {
if( pwc != NULL ) {
*pwc = (wchar_t)ch[0]; /* convert to 00:byte */
}
return( 1 ); /* return char size */
} else {
return( -1 ); /* n==1, but char 2 bytes */
}
}
/programs/develop/open watcom/trunk/clib/mbyte/wctomb.c
0,0 → 1,61
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: WHEN YOU FIGURE OUT WHAT THIS FILE DOES, PLEASE
* DESCRIBE IT HERE!
*
****************************************************************************/
 
 
#include "variety.h"
#include <mbstring.h>
#include "farfunc.h"
 
 
 
/****
***** Convert a wide character to a multibyte character.
****/
 
_WCRTLINK int _NEARFAR(wctomb,_fwctomb)( char _FFAR *ch, wchar_t wchar )
{
 
/*** Catch special cases ***/
if( ch == 0 ) return( 0 );
 
/*** Convert the character ***/
if( wchar & 0xFF00 )
{
ch[0] = (wchar&0xFF00) >> 8; /* store lead byte */
ch[1] = wchar & 0x00FF; /* store trail byte */
return( 2 ); /* return size in bytes */
}
else
{
ch[0] = wchar & 0x00FF; /* store char byte */
return( 1 ); /* return size in bytes */
}
}
/programs/develop/open watcom/trunk/clib/string/vsprintf.c
0,0 → 1,127
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: WHEN YOU FIGURE OUT WHAT THIS FILE DOES, PLEASE
* DESCRIBE IT HERE!
*
****************************************************************************/
 
 
#include "variety.h"
#include "widechar.h"
#include <stdio.h>
#include <stdarg.h>
#include <limits.h>
#include "printf.h"
 
 
/*
* mem_putc -- append a character to a string in memory
*/
#ifdef __WIDECHAR__
 
struct vswprtf_buf {
CHAR_TYPE *bufptr;
int chars_output;
int max_chars;
};
 
static slib_callback_t mem_putc; // setup calling convention
static void __SLIB_CALLBACK mem_putc( SPECS __SLIB *specs, int op_char )
{
struct vswprtf_buf *info;
 
info = (struct vswprtf_buf*) specs->_dest;
if( info->chars_output + 1 <= info->max_chars ) {
*( info->bufptr++ ) = op_char;
specs->_output_count++;
info->chars_output++;
}
}
 
#else
 
static slib_callback_t mem_putc; // setup calling convention
static void __SLIB_CALLBACK mem_putc( SPECS __SLIB *specs, int op_char )
{
*( specs->_dest++ ) = op_char;
specs->_output_count++;
}
 
#endif
 
 
#ifdef __WIDECHAR__
_WCRTLINK int vswprintf( CHAR_TYPE *dest, size_t n, const CHAR_TYPE *format, va_list arg )
{
slib_callback_t *tmp;
auto struct vswprtf_buf info;
 
#if defined( __386__ ) && defined( __QNX__ )
/* avoid some segment relocations for 32-bit QNX */
tmp = (void (*)())mem_putc;
#else
tmp = mem_putc;
#endif
if( n != 0 ) {
info.bufptr = dest;
info.chars_output = 0;
info.max_chars = n - 1;
__wprtf( &info, format, arg, tmp );
dest[info.chars_output] = NULLCHAR;
}
return( info.chars_output );
}
#endif
 
_WCRTLINK int __F_NAME(vsprintf,_vswprintf) ( CHAR_TYPE *dest, const CHAR_TYPE *format, va_list arg )
{
slib_callback_t *tmp;
#ifndef __WIDECHAR__
register int len;
#else
auto struct vswprtf_buf info;
#endif
 
#if defined( __386__ ) && defined( __QNX__ )
/* avoid some segment relocations for 32-bit QNX */
tmp = (void (*)())mem_putc;
#else
tmp = mem_putc;
#endif
#ifdef __WIDECHAR__
info.bufptr = dest;
info.chars_output = 0;
info.max_chars = INT_MAX;
__wprtf( &info, format, arg, tmp );
dest[info.chars_output] = NULLCHAR;
return( info.chars_output );
#else
len = __prtf( dest, format, arg, tmp );
dest[len] = NULLCHAR;
return( len );
#endif
}
/programs/develop/open watcom/trunk/clib.wpj
4,8 → 4,8
VpeMain
1
WRect
-32
330
32
460
10304
9950
2
16,28 → 16,48
4
MCommand
 
1
2
5
WFileName
10
clib_r.tgt
6
WFileName
7
crt.tgt
7
WVList
1
7
2
8
VComponent
8
9
WRect
2760
200
2496
30
5712
7390
 
 
9
10
WFileName
10
clib_r.tgt
24
52
11
VComponent
12
WRect
 
 
5712
7300
 
 
13
WFileName
7
crt.tgt
 
29
11
/programs/develop/open watcom/trunk/clib_r.tgt
58,7 → 58,7
 
14
WPickList
319
328
15
MItem
5
83,8 → 83,8
1
21
WString
54
$(%watcom)\h;$(%watcom)\h\nt;d:\myprojects\kdoom2\clib
77
$(%watcom)\h;$(%watcom)\h\nt;E:\Kos\programs\develop\open watcom\trunk\clib\h
 
22
MRState
139,8 → 139,8
 
-1
1
1
 
 
35
MItem
23
925,7 → 925,7
COBJ
209
WVList
7
14
210
MVState
211
939,8 → 939,8
1
213
WString
54
$(%watcom)\h;$(%watcom)\h\nt;d:\myprojects\kdoom2\clib
80
$(%watcom)\h;$(%watcom)\h\nt; "E:\Kos\programs\develop\open watcom\trunk\clib\h"
 
214
MRState
950,10 → 950,10
WCC
216
WString
29
?????No debugging information
27
?????Default byte alignment
1
1
 
217
MRState
218
962,10 → 962,10
WCC
219
WString
24
?????Full debugging info
21
?????1 byte alignment
1
 
1
220
MRState
221
975,7 → 975,7
222
WString
21
?????Compiler default
?????No optimizations
1
 
223
986,12 → 986,12
WCC
225
WString
33
?????In-line Pentium instructions
26
?????Fastest possible code
1
1
226
MRState
MCState
227
WString
3
998,23 → 998,107
WCC
228
WString
30
?????Call/return optimizations
1
1
229
MCState
230
WString
3
WCC
231
WString
27
?????Instruction scheduling
1
1
232
MRState
233
WString
3
WCC
234
WString
29
?????No debugging information
1
1
235
MRState
236
WString
3
WCC
237
WString
24
?????Full debugging info
1
 
238
MRState
239
WString
3
WCC
240
WString
21
?????Compiler default
1
 
229
241
MRState
230
242
WString
3
WCC
231
243
WString
21
?????Compiler default
1
 
244
MRState
245
WString
3
WCC
246
WString
33
?????In-line Pentium instructions
1
1
247
MRState
248
WString
3
WCC
249
WString
21
?????Compiler default
1
 
250
MRState
251
WString
3
WCC
252
WString
29
?????In-line with coprocessor
1
1
232
253
WVList
 
-1
1021,18 → 1105,18
1
1
 
233
254
MItem
20
CLIB\CHAR\chartest.c
234
255
WString
4
COBJ
235
256
WVList
 
236
257
WVList
 
207
1039,18 → 1123,18
1
1
 
237
258
MItem
19
CLIB\CHAR\isalnum.c
238
259
WString
4
COBJ
239
260
WVList
 
240
261
WVList
 
207
1057,18 → 1141,18
1
1
 
241
262
MItem
19
CLIB\CHAR\isalpha.c
242
263
WString
4
COBJ
243
264
WVList
 
244
265
WVList
 
207
1075,18 → 1159,18
1
1
 
245
266
MItem
19
CLIB\CHAR\isascii.c
246
267
WString
4
COBJ
247
268
WVList
 
248
269
WVList
 
207
1093,18 → 1177,18
1
1
 
249
270
MItem
19
CLIB\CHAR\isblank.c
250
271
WString
4
COBJ
251
272
WVList
 
252
273
WVList
 
207
1111,18 → 1195,18
1
1
 
253
274
MItem
19
CLIB\CHAR\iscntrl.c
254
275
WString
4
COBJ
255
276
WVList
 
256
277
WVList
 
207
1129,18 → 1213,18
1
1
 
257
278
MItem
18
CLIB\CHAR\iscsym.c
258
279
WString
4
COBJ
259
280
WVList
 
260
281
WVList
 
207
1147,18 → 1231,18
1
1
 
261
282
MItem
19
CLIB\CHAR\iscsymf.c
262
283
WString
4
COBJ
263
284
WVList
 
264
285
WVList
 
207
1165,18 → 1249,18
1
1
 
265
286
MItem
19
CLIB\CHAR\isdigit.c
266
287
WString
4
COBJ
267
288
WVList
 
268
289
WVList
 
207
1183,18 → 1267,18
1
1
 
269
290
MItem
19
CLIB\CHAR\isgraph.c
270
291
WString
4
COBJ
271
292
WVList
 
272
293
WVList
 
207
1201,18 → 1285,18
1
1
 
273
294
MItem
19
CLIB\CHAR\islower.c
274
295
WString
4
COBJ
275
296
WVList
 
276
297
WVList
 
207
1219,18 → 1303,18
1
1
 
277
298
MItem
19
CLIB\CHAR\isprint.c
278
299
WString
4
COBJ
279
300
WVList
 
280
301
WVList
 
207
1237,18 → 1321,18
1
1
 
281
302
MItem
19
CLIB\CHAR\ispunct.c
282
303
WString
4
COBJ
283
304
WVList
 
284
305
WVList
 
207
1255,18 → 1339,18
1
1
 
285
306
MItem
19
CLIB\CHAR\isspace.c
286
307
WString
4
COBJ
287
308
WVList
 
288
309
WVList
 
207
1273,18 → 1357,18
1
1
 
289
310
MItem
19
CLIB\CHAR\istable.c
290
311
WString
4
COBJ
291
312
WVList
 
292
313
WVList
 
207
1291,18 → 1375,18
1
1
 
293
314
MItem
19
CLIB\CHAR\isupper.c
294
315
WString
4
COBJ
295
316
WVList
 
296
317
WVList
 
207
1309,18 → 1393,18
1
1
 
297
318
MItem
20
CLIB\CHAR\iswctype.c
298
319
WString
4
COBJ
299
320
WVList
 
300
321
WVList
 
207
1327,18 → 1411,18
1
1
 
301
322
MItem
20
CLIB\CHAR\isxdigit.c
302
323
WString
4
COBJ
303
324
WVList
 
304
325
WVList
 
207
1345,18 → 1429,18
1
1
 
305
326
MItem
19
CLIB\CHAR\tolower.c
306
327
WString
4
COBJ
307
328
WVList
 
308
329
WVList
 
207
1363,18 → 1447,18
1
1
 
309
330
MItem
19
CLIB\CHAR\toupper.c
310
331
WString
4
COBJ
311
332
WVList
 
312
333
WVList
 
207
1381,18 → 1465,18
1
1
 
313
334
MItem
20
CLIB\CHAR\towctrns.c
314
335
WString
4
COBJ
315
336
WVList
 
316
337
WVList
 
207
1399,18 → 1483,18
1
1
 
317
338
MItem
23
CLIB\CONVERT\alphabet.c
318
339
WString
4
COBJ
319
340
WVList
 
320
341
WVList
 
207
1417,18 → 1501,18
1
1
 
321
342
MItem
19
CLIB\CONVERT\atoi.c
322
343
WString
4
COBJ
323
344
WVList
 
324
345
WVList
 
207
1435,18 → 1519,18
1
1
 
325
346
MItem
19
CLIB\CONVERT\atol.c
326
347
WString
4
COBJ
327
348
WVList
 
328
349
WVList
 
207
1453,18 → 1537,18
1
1
 
329
350
MItem
20
CLIB\CONVERT\atoll.c
330
351
WString
4
COBJ
331
352
WVList
 
332
353
WVList
 
207
1471,18 → 1555,18
1
1
 
333
354
MItem
19
CLIB\CONVERT\itoa.c
334
355
WString
4
COBJ
335
356
WVList
 
336
357
WVList
 
207
1489,18 → 1573,18
1
1
 
337
358
MItem
20
CLIB\CONVERT\lltoa.c
338
359
WString
4
COBJ
339
360
WVList
 
340
361
WVList
 
207
1507,18 → 1591,18
1
1
 
341
362
MItem
19
CLIB\CONVERT\ltoa.c
342
363
WString
4
COBJ
343
364
WVList
 
344
365
WVList
 
207
1525,18 → 1609,18
1
1
 
345
366
MItem
21
CLIB\CONVERT\strtol.c
346
367
WString
4
COBJ
347
368
WVList
 
348
369
WVList
 
207
1543,18 → 1627,18
1
1
 
349
370
MItem
22
CLIB\CONVERT\strtoll.c
350
371
WString
4
COBJ
351
372
WVList
 
352
373
WVList
 
207
1561,18 → 1645,18
1
1
 
353
374
MItem
22
CLIB\DIRECT\gtcwdwnt.c
354
375
WString
4
COBJ
355
376
WVList
 
356
377
WVList
 
207
1579,18 → 1663,18
1
1
 
357
378
MItem
23
CLIB\ENVIRON\clearenv.c
358
379
WString
4
COBJ
359
380
WVList
 
360
381
WVList
 
207
1597,18 → 1681,18
1
1
 
361
382
MItem
22
CLIB\ENVIRON\environ.c
362
383
WString
4
COBJ
363
384
WVList
 
364
385
WVList
 
207
1615,18 → 1699,18
1
1
 
365
386
MItem
21
CLIB\ENVIRON\getenv.c
366
387
WString
4
COBJ
367
388
WVList
 
368
389
WVList
 
207
1633,18 → 1717,18
1
1
 
369
390
MItem
20
CLIB\ENVIRON\gtcmd.c
370
391
WString
4
COBJ
371
392
WVList
 
372
393
WVList
 
207
1651,18 → 1735,36
1
1
 
373
394
MItem
23
CLIB\ENVIRON\isattwnt.c
395
WString
4
COBJ
396
WVList
 
397
WVList
 
207
1
1
 
398
MItem
23
CLIB\ENVIRON\searchen.c
374
399
WString
4
COBJ
375
400
WVList
 
376
401
WVList
 
207
1669,18 → 1771,18
1
1
 
377
402
MItem
22
CLIB\ENVIRON\setenvp.c
378
403
WString
4
COBJ
379
404
WVList
 
380
405
WVList
 
207
1687,18 → 1789,18
1
1
 
381
406
MItem
18
CLIB\FILE\remove.c
382
407
WString
4
COBJ
383
408
WVList
 
384
409
WVList
 
207
1705,18 → 1807,18
1
1
 
385
410
MItem
18
CLIB\FPU\cntrl87.c
386
411
WString
4
COBJ
387
412
WVList
 
388
413
WVList
 
207
1723,18 → 1825,18
1
1
 
389
414
MItem
18
CLIB\FPU\cntrlfp.c
390
415
WString
4
COBJ
391
416
WVList
 
392
417
WVList
 
207
1741,18 → 1843,18
1
1
 
393
418
MItem
19
CLIB\FPU\fclex387.c
394
419
WString
4
COBJ
395
420
WVList
 
396
421
WVList
 
207
1759,18 → 1861,18
1
1
 
397
422
MItem
24
CLIB\HANDLEIO\_clsewnt.c
398
423
WString
4
COBJ
399
424
WVList
 
400
425
WVList
 
207
1777,18 → 1879,18
1
1
 
401
426
MItem
21
CLIB\HANDLEIO\close.c
402
427
WString
4
COBJ
403
428
WVList
 
404
429
WVList
 
207
1795,18 → 1897,18
1
1
 
405
430
MItem
23
CLIB\HANDLEIO\filelen.c
406
431
WString
4
COBJ
407
432
WVList
 
408
433
WVList
 
207
1813,18 → 1915,18
1
1
 
409
434
MItem
21
CLIB\HANDLEIO\fsync.c
410
435
WString
4
COBJ
411
436
WVList
 
412
437
WVList
 
207
1831,18 → 1933,18
1
1
 
413
438
MItem
22
CLIB\HANDLEIO\hdlman.c
414
439
WString
4
COBJ
415
440
WVList
 
416
441
WVList
 
207
1849,18 → 1951,18
1
1
 
417
442
MItem
22
CLIB\HANDLEIO\iomode.c
418
443
WString
4
COBJ
419
444
WVList
 
420
445
WVList
 
207
1867,18 → 1969,18
1
1
 
421
446
MItem
24
CLIB\HANDLEIO\iomodtty.c
422
447
WString
4
COBJ
423
448
WVList
 
424
449
WVList
 
207
1885,18 → 1987,18
1
1
 
425
450
MItem
21
CLIB\HANDLEIO\lseek.c
426
451
WString
4
COBJ
427
452
WVList
 
428
453
WVList
 
207
1903,18 → 2005,18
1
1
 
429
454
MItem
24
CLIB\HANDLEIO\lseekwnt.c
430
455
WString
4
COBJ
431
456
WVList
 
432
457
WVList
 
207
1921,18 → 2023,36
1
1
 
433
458
MItem
24
CLIB\HANDLEIO\openklbr.c
459
WString
4
COBJ
460
WVList
 
461
WVList
 
207
1
1
 
462
MItem
21
CLIB\HANDLEIO\qread.c
434
463
WString
4
COBJ
435
464
WVList
 
436
465
WVList
 
207
1939,18 → 2059,18
1
1
 
437
466
MItem
21
CLIB\HANDLEIO\qwrit.c
438
467
WString
4
COBJ
439
468
WVList
 
440
469
WVList
 
207
1957,18 → 2077,18
1
1
 
441
470
MItem
20
CLIB\HANDLEIO\read.c
442
471
WString
4
COBJ
443
472
WVList
 
444
473
WVList
 
207
1975,18 → 2095,18
1
1
 
445
474
MItem
24
CLIB\HANDLEIO\stiomode.c
446
475
WString
4
COBJ
447
476
WVList
 
448
477
WVList
 
207
1993,18 → 2113,36
1
1
 
449
478
MItem
20
CLIB\HANDLEIO\tell.c
479
WString
4
COBJ
480
WVList
 
481
WVList
 
207
1
1
 
482
MItem
24
CLIB\HANDLEIO\unlnkwnt.c
450
483
WString
4
COBJ
451
484
WVList
 
452
485
WVList
 
207
2011,18 → 2149,18
1
1
 
453
486
MItem
21
CLIB\HANDLEIO\write.c
454
487
WString
4
COBJ
455
488
WVList
 
456
489
WVList
 
207
2029,18 → 2167,18
1
1
 
457
490
MItem
20
CLIB\HEAP\amblksiz.c
458
491
WString
4
COBJ
459
492
WVList
 
460
493
WVList
 
207
2047,18 → 2185,18
1
1
 
461
494
MItem
19
CLIB\HEAP\ambsptr.c
462
495
WString
4
COBJ
463
496
WVList
 
464
497
WVList
 
207
2065,18 → 2203,18
1
1
 
465
498
MItem
18
CLIB\HEAP\calloc.c
466
499
WString
4
COBJ
467
500
WVList
 
468
501
WVList
 
207
2083,18 → 2221,18
1
1
 
469
502
MItem
18
CLIB\HEAP\freect.c
470
503
WString
4
COBJ
471
504
WVList
 
472
505
WVList
 
207
2101,18 → 2239,18
1
1
 
473
506
MItem
20
CLIB\HEAP\grownear.c
474
507
WString
4
COBJ
475
508
WVList
 
476
509
WVList
 
207
2119,18 → 2257,18
1
1
 
477
510
MItem
18
CLIB\HEAP\heapen.c
478
511
WString
4
COBJ
479
512
WVList
 
480
513
WVList
 
207
2137,18 → 2275,18
1
1
 
481
514
MItem
20
CLIB\HEAP\heapgrow.c
482
515
WString
4
COBJ
483
516
WVList
 
484
517
WVList
 
207
2155,18 → 2293,18
1
1
 
485
518
MItem
15
CLIB\HEAP\mem.c
486
519
WString
4
COBJ
487
520
WVList
 
488
521
WVList
 
207
2173,18 → 2311,18
1
1
 
489
522
MItem
18
CLIB\HEAP\memavl.c
490
523
WString
4
COBJ
491
524
WVList
 
492
525
WVList
 
207
2191,18 → 2329,18
1
1
 
493
526
MItem
18
CLIB\HEAP\memmax.c
494
527
WString
4
COBJ
495
528
WVList
 
496
529
WVList
 
207
2209,18 → 2347,18
1
1
 
497
530
MItem
19
CLIB\HEAP\ncalloc.c
498
531
WString
4
COBJ
499
532
WVList
 
500
533
WVList
 
207
2227,18 → 2365,18
1
1
 
501
534
MItem
19
CLIB\HEAP\nexpand.c
502
535
WString
4
COBJ
503
536
WVList
 
504
537
WVList
 
207
2245,18 → 2383,18
1
1
 
505
538
MItem
17
CLIB\HEAP\nfree.c
506
539
WString
4
COBJ
507
540
WVList
 
508
541
WVList
 
207
2263,18 → 2401,18
1
1
 
509
542
MItem
20
CLIB\HEAP\nheapchk.c
510
543
WString
4
COBJ
511
544
WVList
 
512
545
WVList
 
207
2281,18 → 2419,18
1
1
 
513
546
MItem
20
CLIB\HEAP\nheapmin.c
514
547
WString
4
COBJ
515
548
WVList
 
516
549
WVList
 
207
2299,18 → 2437,18
1
1
 
517
550
MItem
20
CLIB\HEAP\nheapset.c
518
551
WString
4
COBJ
519
552
WVList
 
520
553
WVList
 
207
2317,18 → 2455,18
1
1
 
521
554
MItem
20
CLIB\HEAP\nheapwal.c
522
555
WString
4
COBJ
523
556
WVList
 
524
557
WVList
 
207
2335,18 → 2473,18
1
1
 
525
558
MItem
19
CLIB\HEAP\nmalloc.c
526
559
WString
4
COBJ
527
560
WVList
 
528
561
WVList
 
207
2353,18 → 2491,18
1
1
 
529
562
MItem
20
CLIB\HEAP\nmemneed.c
530
563
WString
4
COBJ
531
564
WVList
 
532
565
WVList
 
207
2371,18 → 2509,18
1
1
 
533
566
MItem
18
CLIB\HEAP\nmsize.c
534
567
WString
4
COBJ
535
568
WVList
 
536
569
WVList
 
207
2389,18 → 2527,18
1
1
 
537
570
MItem
20
CLIB\HEAP\nrealloc.c
538
571
WString
4
COBJ
539
572
WVList
 
540
573
WVList
 
207
2407,18 → 2545,18
1
1
 
541
574
MItem
19
CLIB\HEAP\sbrkwnt.c
542
575
WString
4
COBJ
543
576
WVList
 
544
577
WVList
 
207
2425,18 → 2563,18
1
1
 
545
578
MItem
20
CLIB\INTEL\chipbug.c
546
579
WString
4
COBJ
547
580
WVList
 
548
581
WVList
 
207
2443,18 → 2581,18
1
1
 
549
582
MItem
21
CLIB\INTEL\grabfp87.c
550
583
WString
4
COBJ
551
584
WVList
 
552
585
WVList
 
207
2461,18 → 2599,18
1
1
 
553
586
MItem
21
CLIB\INTEL\save8087.c
554
587
WString
4
COBJ
555
588
WVList
 
556
589
WVList
 
207
2479,18 → 2617,18
1
1
 
557
590
MItem
20
CLIB\INTEL\segread.c
558
591
WString
4
COBJ
559
592
WVList
 
560
593
WVList
 
207
2497,18 → 2635,18
1
1
 
561
594
MItem
21
CLIB\KANJI\mbdtoupp.c
562
595
WString
4
COBJ
563
596
WVList
 
564
597
WVList
 
207
2515,18 → 2653,18
1
1
 
565
598
MItem
15
CLIB\MATH\abs.c
566
599
WString
4
COBJ
567
600
WVList
 
568
601
WVList
 
207
2533,18 → 2671,18
1
1
 
569
602
MItem
19
CLIB\MATH\hugeval.c
570
603
WString
4
COBJ
571
604
WVList
 
572
605
WVList
 
207
2551,18 → 2689,18
1
1
 
573
606
MItem
19
CLIB\MATH\hvalptr.c
574
607
WString
4
COBJ
575
608
WVList
 
576
609
WVList
 
207
2569,18 → 2707,18
1
1
 
577
610
MItem
19
CLIB\MATH\imaxabs.c
578
611
WString
4
COBJ
579
612
WVList
 
580
613
WVList
 
207
2587,18 → 2725,18
1
1
 
581
614
MItem
19
CLIB\MATH\imaxdiv.c
582
615
WString
4
COBJ
583
616
WVList
 
584
617
WVList
 
207
2605,18 → 2743,18
1
1
 
585
618
MItem
16
CLIB\MATH\labs.c
586
619
WString
4
COBJ
587
620
WVList
 
588
621
WVList
 
207
2623,18 → 2761,18
1
1
 
589
622
MItem
17
CLIB\MATH\llabs.c
590
623
WString
4
COBJ
591
624
WVList
 
592
625
WVList
 
207
2641,18 → 2779,18
1
1
 
593
626
MItem
15
CLIB\MATH\max.c
594
627
WString
4
COBJ
595
628
WVList
 
596
629
WVList
 
207
2659,18 → 2797,18
1
1
 
597
630
MItem
15
CLIB\MATH\min.c
598
631
WString
4
COBJ
599
632
WVList
 
600
633
WVList
 
207
2677,18 → 2815,18
1
1
 
601
634
MItem
16
CLIB\MATH\rand.c
602
635
WString
4
COBJ
603
636
WVList
 
604
637
WVList
 
207
2695,18 → 2833,18
1
1
 
605
638
MItem
21
CLIB\MBYTE\mbcupper.c
606
639
WString
4
COBJ
607
640
WVList
 
608
641
WVList
 
207
2713,18 → 2851,72
1
1
 
609
642
MItem
19
CLIB\MBYTE\mbinit.c
643
WString
4
COBJ
644
WVList
 
645
WVList
 
207
1
1
 
646
MItem
21
CLIB\MBYTE\mbisdbcs.c
647
WString
4
COBJ
648
WVList
 
649
WVList
 
207
1
1
 
650
MItem
21
CLIB\MBYTE\mbislead.c
651
WString
4
COBJ
652
WVList
 
653
WVList
 
207
1
1
 
654
MItem
19
CLIB\MBYTE\mbsinc.c
610
655
WString
4
COBJ
611
656
WVList
 
612
657
WVList
 
207
2731,18 → 2923,18
1
1
 
613
658
MItem
21
CLIB\MBYTE\mbsnextc.c
614
659
WString
4
COBJ
615
660
WVList
 
616
661
WVList
 
207
2749,18 → 2941,18
1
1
 
617
662
MItem
19
CLIB\MBYTE\mbterm.c
618
663
WString
4
COBJ
619
664
WVList
 
620
665
WVList
 
207
2767,18 → 2959,36
1
1
 
621
666
MItem
19
CLIB\MBYTE\mbtowc.c
667
WString
4
COBJ
668
WVList
 
669
WVList
 
207
1
1
 
670
MItem
20
CLIB\MBYTE\setmbcp.c
622
671
WString
4
COBJ
623
672
WVList
 
624
673
WVList
 
207
2785,18 → 2995,36
1
1
 
625
674
MItem
19
CLIB\MBYTE\wctomb.c
675
WString
4
COBJ
676
WVList
 
677
WVList
 
207
1
1
 
678
MItem
18
CLIB\MEMORY\bcmp.c
626
679
WString
4
COBJ
627
680
WVList
 
628
681
WVList
 
207
2803,18 → 3031,18
1
1
 
629
682
MItem
19
CLIB\MEMORY\bcopy.c
630
683
WString
4
COBJ
631
684
WVList
 
632
685
WVList
 
207
2821,18 → 3049,18
1
1
 
633
686
MItem
19
CLIB\MEMORY\bzero.c
634
687
WString
4
COBJ
635
688
WVList
 
636
689
WVList
 
207
2839,18 → 3067,18
1
1
 
637
690
MItem
22
CLIB\MEMORY\fmemccpy.c
638
691
WString
4
COBJ
639
692
WVList
 
640
693
WVList
 
207
2857,18 → 3085,18
1
1
 
641
694
MItem
21
CLIB\MEMORY\fmemchr.c
642
695
WString
4
COBJ
643
696
WVList
 
644
697
WVList
 
207
2875,18 → 3103,18
1
1
 
645
698
MItem
21
CLIB\MEMORY\fmemcmp.c
646
699
WString
4
COBJ
647
700
WVList
 
648
701
WVList
 
207
2893,18 → 3121,18
1
1
 
649
702
MItem
21
CLIB\MEMORY\fmemcpy.c
650
703
WString
4
COBJ
651
704
WVList
 
652
705
WVList
 
207
2911,18 → 3139,18
1
1
 
653
706
MItem
22
CLIB\MEMORY\fmemicmp.c
654
707
WString
4
COBJ
655
708
WVList
 
656
709
WVList
 
207
2929,18 → 3157,18
1
1
 
657
710
MItem
22
CLIB\MEMORY\fmemmove.c
658
711
WString
4
COBJ
659
712
WVList
 
660
713
WVList
 
207
2947,18 → 3175,18
1
1
 
661
714
MItem
21
CLIB\MEMORY\fmemset.c
662
715
WString
4
COBJ
663
716
WVList
 
664
717
WVList
 
207
2965,18 → 3193,18
1
1
 
665
718
MItem
21
CLIB\MEMORY\memccpy.c
666
719
WString
4
COBJ
667
720
WVList
 
668
721
WVList
 
207
2983,18 → 3211,18
1
1
 
669
722
MItem
20
CLIB\MEMORY\memchr.c
670
723
WString
4
COBJ
671
724
WVList
 
672
725
WVList
 
207
3001,18 → 3229,18
1
1
 
673
726
MItem
20
CLIB\MEMORY\memcmp.c
674
727
WString
4
COBJ
675
728
WVList
 
676
729
WVList
 
207
3019,18 → 3247,18
1
1
 
677
730
MItem
20
CLIB\MEMORY\memcpy.c
678
731
WString
4
COBJ
679
732
WVList
 
680
733
WVList
 
207
3037,18 → 3265,18
1
1
 
681
734
MItem
22
CLIB\MEMORY\memcpy_s.c
682
735
WString
4
COBJ
683
736
WVList
 
684
737
WVList
 
207
3055,18 → 3283,18
1
1
 
685
738
MItem
21
CLIB\MEMORY\memicmp.c
686
739
WString
4
COBJ
687
740
WVList
 
688
741
WVList
 
207
3073,18 → 3301,18
1
1
 
689
742
MItem
22
CLIB\MEMORY\memmov_s.c
690
743
WString
4
COBJ
691
744
WVList
 
692
745
WVList
 
207
3091,18 → 3319,18
1
1
 
693
746
MItem
21
CLIB\MEMORY\memmove.c
694
747
WString
4
COBJ
695
748
WVList
 
696
749
WVList
 
207
3109,18 → 3337,18
1
1
 
697
750
MItem
20
CLIB\MEMORY\memset.c
698
751
WString
4
COBJ
699
752
WVList
 
700
753
WVList
 
207
3127,18 → 3355,18
1
1
 
701
754
MItem
21
CLIB\MEMORY\memtest.c
702
755
WString
4
COBJ
703
756
WVList
 
704
757
WVList
 
207
3145,18 → 3373,18
1
1
 
705
758
MItem
22
CLIB\MEMORY\movedata.c
706
759
WString
4
COBJ
707
760
WVList
 
708
761
WVList
 
207
3163,18 → 3391,18
1
1
 
709
762
MItem
18
CLIB\MEMORY\swab.c
710
763
WString
4
COBJ
711
764
WVList
 
712
765
WVList
 
207
3181,18 → 3409,18
1
1
 
713
766
MItem
21
CLIB\SEARCH\bsearch.c
714
767
WString
4
COBJ
715
768
WVList
 
716
769
WVList
 
207
3199,18 → 3427,18
1
1
 
717
770
MItem
21
CLIB\SEARCH\bsrch_s.c
718
771
WString
4
COBJ
719
772
WVList
 
720
773
WVList
 
207
3217,18 → 3445,18
1
1
 
721
774
MItem
19
CLIB\SEARCH\lfind.c
722
775
WString
4
COBJ
723
776
WVList
 
724
777
WVList
 
207
3235,18 → 3463,18
1
1
 
725
778
MItem
21
CLIB\SEARCH\lsearch.c
726
779
WString
4
COBJ
727
780
WVList
 
728
781
WVList
 
207
3253,18 → 3481,18
1
1
 
729
782
MItem
19
CLIB\SEARCH\qsort.c
730
783
WString
4
COBJ
731
784
WVList
 
732
785
WVList
 
207
3271,18 → 3499,18
1
1
 
733
786
MItem
21
CLIB\SEARCH\qsort_s.c
734
787
WString
4
COBJ
735
788
WVList
 
736
789
WVList
 
207
3289,18 → 3517,18
1
1
 
737
790
MItem
23
CLIB\STREAMIO\allocfp.c
738
791
WString
4
COBJ
739
792
WVList
 
740
793
WVList
 
207
3307,18 → 3535,18
1
1
 
741
794
MItem
22
CLIB\STREAMIO\chktty.c
742
795
WString
4
COBJ
743
796
WVList
 
744
797
WVList
 
207
3325,18 → 3553,18
1
1
 
745
798
MItem
24
CLIB\STREAMIO\clearerr.c
746
799
WString
4
COBJ
747
800
WVList
 
748
801
WVList
 
207
3343,18 → 3571,18
1
1
 
749
802
MItem
24
CLIB\STREAMIO\comtflag.c
750
803
WString
4
COBJ
751
804
WVList
 
752
805
WVList
 
207
3361,18 → 3589,18
1
1
 
753
806
MItem
23
CLIB\STREAMIO\dsetefg.c
754
807
WString
4
COBJ
755
808
WVList
 
756
809
WVList
 
207
3379,18 → 3607,18
1
1
 
757
810
MItem
22
CLIB\STREAMIO\fclose.c
758
811
WString
4
COBJ
759
812
WVList
 
760
813
WVList
 
207
3397,18 → 3625,18
1
1
 
761
814
MItem
22
CLIB\STREAMIO\fdopen.c
762
815
WString
4
COBJ
763
816
WVList
 
764
817
WVList
 
207
3415,18 → 3643,18
1
1
 
765
818
MItem
20
CLIB\STREAMIO\feof.c
766
819
WString
4
COBJ
767
820
WVList
 
768
821
WVList
 
207
3433,18 → 3661,18
1
1
 
769
822
MItem
22
CLIB\STREAMIO\ferror.c
770
823
WString
4
COBJ
771
824
WVList
 
772
825
WVList
 
207
3451,18 → 3679,18
1
1
 
773
826
MItem
22
CLIB\STREAMIO\fflush.c
774
827
WString
4
COBJ
775
828
WVList
 
776
829
WVList
 
207
3469,18 → 3697,18
1
1
 
777
830
MItem
21
CLIB\STREAMIO\fgetc.c
778
831
WString
4
COBJ
779
832
WVList
 
780
833
WVList
 
207
3487,18 → 3715,18
1
1
 
781
834
MItem
24
CLIB\STREAMIO\fgetchar.c
782
835
WString
4
COBJ
783
836
WVList
 
784
837
WVList
 
207
3505,18 → 3733,18
1
1
 
785
838
MItem
23
CLIB\STREAMIO\fgetpos.c
786
839
WString
4
COBJ
787
840
WVList
 
788
841
WVList
 
207
3523,18 → 3751,18
1
1
 
789
842
MItem
21
CLIB\STREAMIO\fgets.c
790
843
WString
4
COBJ
791
844
WVList
 
792
845
WVList
 
207
3541,18 → 3769,18
1
1
 
793
846
MItem
21
CLIB\STREAMIO\flush.c
794
847
WString
4
COBJ
795
848
WVList
 
796
849
WVList
 
207
3559,18 → 3787,18
1
1
 
797
850
MItem
24
CLIB\STREAMIO\flushall.c
798
851
WString
4
COBJ
799
852
WVList
 
800
853
WVList
 
207
3577,18 → 3805,18
1
1
 
801
854
MItem
21
CLIB\STREAMIO\fopen.c
802
855
WString
4
COBJ
803
856
WVList
 
804
857
WVList
 
207
3595,18 → 3823,18
1
1
 
805
858
MItem
23
CLIB\STREAMIO\fopen_s.c
806
859
WString
4
COBJ
807
860
WVList
 
808
861
WVList
 
207
3613,18 → 3841,18
1
1
 
809
862
MItem
23
CLIB\STREAMIO\fprintf.c
810
863
WString
4
COBJ
811
864
WVList
 
812
865
WVList
 
207
3631,18 → 3859,18
1
1
 
813
866
MItem
24
CLIB\STREAMIO\fprntf_s.c
814
867
WString
4
COBJ
815
868
WVList
 
816
869
WVList
 
207
3649,18 → 3877,18
1
1
 
817
870
MItem
21
CLIB\STREAMIO\fprtf.c
818
871
WString
4
COBJ
819
872
WVList
 
820
873
WVList
 
207
3667,18 → 3895,18
1
1
 
821
874
MItem
23
CLIB\STREAMIO\fprtf_s.c
822
875
WString
4
COBJ
823
876
WVList
 
824
877
WVList
 
207
3685,18 → 3913,18
1
1
 
825
878
MItem
21
CLIB\STREAMIO\fputc.c
826
879
WString
4
COBJ
827
880
WVList
 
828
881
WVList
 
207
3703,18 → 3931,18
1
1
 
829
882
MItem
24
CLIB\STREAMIO\fputchar.c
830
883
WString
4
COBJ
831
884
WVList
 
832
885
WVList
 
207
3721,18 → 3949,18
1
1
 
833
886
MItem
21
CLIB\STREAMIO\fputs.c
834
887
WString
4
COBJ
835
888
WVList
 
836
889
WVList
 
207
3739,18 → 3967,18
1
1
 
837
890
MItem
21
CLIB\STREAMIO\fread.c
838
891
WString
4
COBJ
839
892
WVList
 
840
893
WVList
 
207
3757,18 → 3985,18
1
1
 
841
894
MItem
22
CLIB\STREAMIO\freefp.c
842
895
WString
4
COBJ
843
896
WVList
 
844
897
WVList
 
207
3775,18 → 4003,18
1
1
 
845
898
MItem
23
CLIB\STREAMIO\freop_s.c
846
899
WString
4
COBJ
847
900
WVList
 
848
901
WVList
 
207
3793,18 → 4021,18
1
1
 
849
902
MItem
22
CLIB\STREAMIO\fscanf.c
850
903
WString
4
COBJ
851
904
WVList
 
852
905
WVList
 
207
3811,18 → 4039,18
1
1
 
853
906
MItem
24
CLIB\STREAMIO\fscanf_s.c
854
907
WString
4
COBJ
855
908
WVList
 
856
909
WVList
 
207
3829,18 → 4057,18
1
1
 
857
910
MItem
21
CLIB\STREAMIO\fseek.c
858
911
WString
4
COBJ
859
912
WVList
 
860
913
WVList
 
207
3847,18 → 4075,18
1
1
 
861
914
MItem
23
CLIB\STREAMIO\fsetpos.c
862
915
WString
4
COBJ
863
916
WVList
 
864
917
WVList
 
207
3865,18 → 4093,18
1
1
 
865
918
MItem
21
CLIB\STREAMIO\ftell.c
866
919
WString
4
COBJ
867
920
WVList
 
868
921
WVList
 
207
3883,18 → 4111,18
1
1
 
869
922
MItem
21
CLIB\STREAMIO\fwide.c
870
923
WString
4
COBJ
871
924
WVList
 
872
925
WVList
 
207
3901,18 → 4129,18
1
1
 
873
926
MItem
22
CLIB\STREAMIO\fwrite.c
874
927
WString
4
COBJ
875
928
WVList
 
876
929
WVList
 
207
3919,18 → 4147,18
1
1
 
877
930
MItem
20
CLIB\STREAMIO\getc.c
878
931
WString
4
COBJ
879
932
WVList
 
880
933
WVList
 
207
3937,18 → 4165,18
1
1
 
881
934
MItem
23
CLIB\STREAMIO\getchar.c
882
935
WString
4
COBJ
883
936
WVList
 
884
937
WVList
 
207
3955,18 → 4183,18
1
1
 
885
938
MItem
20
CLIB\STREAMIO\gets.c
886
939
WString
4
COBJ
887
940
WVList
 
888
941
WVList
 
207
3973,18 → 4201,18
1
1
 
889
942
MItem
22
CLIB\STREAMIO\gets_s.c
890
943
WString
4
COBJ
891
944
WVList
 
892
945
WVList
 
207
3991,18 → 4219,18
1
1
 
893
946
MItem
20
CLIB\STREAMIO\getw.c
894
947
WString
4
COBJ
895
948
WVList
 
896
949
WVList
 
207
4009,18 → 4237,18
1
1
 
897
950
MItem
24
CLIB\STREAMIO\initfile.c
898
951
WString
4
COBJ
899
952
WVList
 
900
953
WVList
 
207
4027,18 → 4255,18
1
1
 
901
954
MItem
23
CLIB\STREAMIO\ioalloc.c
902
955
WString
4
COBJ
903
956
WVList
 
904
957
WVList
 
207
4045,18 → 4273,18
1
1
 
905
958
MItem
19
CLIB\STREAMIO\iob.c
906
959
WString
4
COBJ
907
960
WVList
 
908
961
WVList
 
207
4063,18 → 4291,18
1
1
 
909
962
MItem
23
CLIB\STREAMIO\iobaddr.c
910
963
WString
4
COBJ
911
964
WVList
 
912
965
WVList
 
207
4081,18 → 4309,18
1
1
 
913
966
MItem
22
CLIB\STREAMIO\iobptr.c
914
967
WString
4
COBJ
915
968
WVList
 
916
969
WVList
 
207
4099,18 → 4327,18
1
1
 
917
970
MItem
24
CLIB\STREAMIO\noefgfmt.c
918
971
WString
4
COBJ
919
972
WVList
 
920
973
WVList
 
207
4117,18 → 4345,18
1
1
 
921
974
MItem
22
CLIB\STREAMIO\perror.c
922
975
WString
4
COBJ
923
976
WVList
 
924
977
WVList
 
207
4135,18 → 4363,18
1
1
 
925
978
MItem
22
CLIB\STREAMIO\printf.c
926
979
WString
4
COBJ
927
980
WVList
 
928
981
WVList
 
207
4153,18 → 4381,18
1
1
 
929
982
MItem
24
CLIB\STREAMIO\printf_s.c
930
983
WString
4
COBJ
931
984
WVList
 
932
985
WVList
 
207
4171,18 → 4399,18
1
1
 
933
986
MItem
20
CLIB\STREAMIO\prtf.c
934
987
WString
4
COBJ
935
988
WVList
 
936
989
WVList
 
207
4189,18 → 4417,18
1
1
 
937
990
MItem
22
CLIB\STREAMIO\prtf_s.c
938
991
WString
4
COBJ
939
992
WVList
 
940
993
WVList
 
207
4207,18 → 4435,18
1
1
 
941
994
MItem
20
CLIB\STREAMIO\putc.c
942
995
WString
4
COBJ
943
996
WVList
 
944
997
WVList
 
207
4225,18 → 4453,18
1
1
 
945
998
MItem
23
CLIB\STREAMIO\putchar.c
946
999
WString
4
COBJ
947
1000
WVList
 
948
1001
WVList
 
207
4243,18 → 4471,18
1
1
 
949
1002
MItem
20
CLIB\STREAMIO\puts.c
950
1003
WString
4
COBJ
951
1004
WVList
 
952
1005
WVList
 
207
4261,18 → 4489,18
1
1
 
953
1006
MItem
20
CLIB\STREAMIO\putw.c
954
1007
WString
4
COBJ
955
1008
WVList
 
956
1009
WVList
 
207
4279,18 → 4507,18
1
1
 
957
1010
MItem
22
CLIB\STREAMIO\rewind.c
958
1011
WString
4
COBJ
959
1012
WVList
 
960
1013
WVList
 
207
4297,18 → 4525,18
1
1
 
961
1014
MItem
21
CLIB\STREAMIO\scanf.c
962
1015
WString
4
COBJ
963
1016
WVList
 
964
1017
WVList
 
207
4315,18 → 4543,18
1
1
 
965
1018
MItem
23
CLIB\STREAMIO\scanf_s.c
966
1019
WString
4
COBJ
967
1020
WVList
 
968
1021
WVList
 
207
4333,18 → 4561,18
1
1
 
969
1022
MItem
20
CLIB\STREAMIO\scnf.c
970
1023
WString
4
COBJ
971
1024
WVList
 
972
1025
WVList
 
207
4351,18 → 4579,18
1
1
 
973
1026
MItem
22
CLIB\STREAMIO\scnf_s.c
974
1027
WString
4
COBJ
975
1028
WVList
 
976
1029
WVList
 
207
4369,18 → 4597,18
1
1
 
977
1030
MItem
22
CLIB\STREAMIO\setbuf.c
978
1031
WString
4
COBJ
979
1032
WVList
 
980
1033
WVList
 
207
4387,18 → 4615,18
1
1
 
981
1034
MItem
22
CLIB\STREAMIO\setefg.c
982
1035
WString
4
COBJ
983
1036
WVList
 
984
1037
WVList
 
207
4405,18 → 4633,18
1
1
 
985
1038
MItem
23
CLIB\STREAMIO\setvbuf.c
986
1039
WString
4
COBJ
987
1040
WVList
 
988
1041
WVList
 
207
4423,18 → 4651,18
1
1
 
989
1042
MItem
21
CLIB\STREAMIO\tmpfl.c
990
1043
WString
4
COBJ
991
1044
WVList
 
992
1045
WVList
 
207
4441,18 → 4669,18
1
1
 
993
1046
MItem
23
CLIB\STREAMIO\tmputil.c
994
1047
WString
4
COBJ
995
1048
WVList
 
996
1049
WVList
 
207
4459,18 → 4687,18
1
1
 
997
1050
MItem
18
CLIB\STRING\bits.c
998
1051
WString
4
COBJ
999
1052
WVList
 
1000
1053
WVList
 
207
4477,18 → 4705,18
1
1
 
1001
1054
MItem
21
CLIB\STRING\bprintf.c
1002
1055
WString
4
COBJ
1003
1056
WVList
 
1004
1057
WVList
 
207
4495,18 → 4723,18
1
1
 
1005
1058
MItem
22
CLIB\STRING\fsetbits.c
1006
1059
WString
4
COBJ
1007
1060
WVList
 
1008
1061
WVList
 
207
4513,18 → 4741,18
1
1
 
1009
1062
MItem
21
CLIB\STRING\fstrcat.c
1010
1063
WString
4
COBJ
1011
1064
WVList
 
1012
1065
WVList
 
207
4531,18 → 4759,18
1
1
 
1013
1066
MItem
21
CLIB\STRING\fstrchr.c
1014
1067
WString
4
COBJ
1015
1068
WVList
 
1016
1069
WVList
 
207
4549,18 → 4777,18
1
1
 
1017
1070
MItem
21
CLIB\STRING\fstrcmp.c
1018
1071
WString
4
COBJ
1019
1072
WVList
 
1020
1073
WVList
 
207
4567,18 → 4795,18
1
1
 
1021
1074
MItem
21
CLIB\STRING\fstrcpy.c
1022
1075
WString
4
COBJ
1023
1076
WVList
 
1024
1077
WVList
 
207
4585,18 → 4813,18
1
1
 
1025
1078
MItem
22
CLIB\STRING\fstrcspn.c
1026
1079
WString
4
COBJ
1027
1080
WVList
 
1028
1081
WVList
 
207
4603,18 → 4831,18
1
1
 
1029
1082
MItem
21
CLIB\STRING\fstrdup.c
1030
1083
WString
4
COBJ
1031
1084
WVList
 
1032
1085
WVList
 
207
4621,18 → 4849,18
1
1
 
1033
1086
MItem
22
CLIB\STRING\fstricmp.c
1034
1087
WString
4
COBJ
1035
1088
WVList
 
1036
1089
WVList
 
207
4639,18 → 4867,18
1
1
 
1037
1090
MItem
21
CLIB\STRING\fstrlen.c
1038
1091
WString
4
COBJ
1039
1092
WVList
 
1040
1093
WVList
 
207
4657,18 → 4885,18
1
1
 
1041
1094
MItem
21
CLIB\STRING\fstrlwr.c
1042
1095
WString
4
COBJ
1043
1096
WVList
 
1044
1097
WVList
 
207
4675,18 → 4903,18
1
1
 
1045
1098
MItem
22
CLIB\STRING\fstrncat.c
1046
1099
WString
4
COBJ
1047
1100
WVList
 
1048
1101
WVList
 
207
4693,18 → 4921,18
1
1
 
1049
1102
MItem
22
CLIB\STRING\fstrncmp.c
1050
1103
WString
4
COBJ
1051
1104
WVList
 
1052
1105
WVList
 
207
4711,18 → 4939,18
1
1
 
1053
1106
MItem
22
CLIB\STRING\fstrncpy.c
1054
1107
WString
4
COBJ
1055
1108
WVList
 
1056
1109
WVList
 
207
4729,18 → 4957,18
1
1
 
1057
1110
MItem
22
CLIB\STRING\fstrnicm.c
1058
1111
WString
4
COBJ
1059
1112
WVList
 
1060
1113
WVList
 
207
4747,18 → 4975,18
1
1
 
1061
1114
MItem
22
CLIB\STRING\fstrnset.c
1062
1115
WString
4
COBJ
1063
1116
WVList
 
1064
1117
WVList
 
207
4765,18 → 4993,18
1
1
 
1065
1118
MItem
22
CLIB\STRING\fstrpbrk.c
1066
1119
WString
4
COBJ
1067
1120
WVList
 
1068
1121
WVList
 
207
4783,18 → 5011,18
1
1
 
1069
1122
MItem
22
CLIB\STRING\fstrrchr.c
1070
1123
WString
4
COBJ
1071
1124
WVList
 
1072
1125
WVList
 
207
4801,18 → 5029,18
1
1
 
1073
1126
MItem
21
CLIB\STRING\fstrrev.c
1074
1127
WString
4
COBJ
1075
1128
WVList
 
1076
1129
WVList
 
207
4819,18 → 5047,18
1
1
 
1077
1130
MItem
21
CLIB\STRING\fstrset.c
1078
1131
WString
4
COBJ
1079
1132
WVList
 
1080
1133
WVList
 
207
4837,18 → 5065,18
1
1
 
1081
1134
MItem
21
CLIB\STRING\fstrspn.c
1082
1135
WString
4
COBJ
1083
1136
WVList
 
1084
1137
WVList
 
207
4855,18 → 5083,18
1
1
 
1085
1138
MItem
22
CLIB\STRING\fstrspnp.c
1086
1139
WString
4
COBJ
1087
1140
WVList
 
1088
1141
WVList
 
207
4873,18 → 5101,18
1
1
 
1089
1142
MItem
21
CLIB\STRING\fstrstr.c
1090
1143
WString
4
COBJ
1091
1144
WVList
 
1092
1145
WVList
 
207
4891,18 → 5119,18
1
1
 
1093
1146
MItem
21
CLIB\STRING\fstrtok.c
1094
1147
WString
4
COBJ
1095
1148
WVList
 
1096
1149
WVList
 
207
4909,18 → 5137,18
1
1
 
1097
1150
MItem
21
CLIB\STRING\fstrupr.c
1098
1151
WString
4
COBJ
1099
1152
WVList
 
1100
1153
WVList
 
207
4927,18 → 5155,18
1
1
 
1101
1154
MItem
20
CLIB\STRING\selptr.c
1102
1155
WString
4
COBJ
1103
1156
WVList
 
1104
1157
WVList
 
207
4945,18 → 5173,18
1
1
 
1105
1158
MItem
20
CLIB\STRING\sneptr.c
1106
1159
WString
4
COBJ
1107
1160
WVList
 
1108
1161
WVList
 
207
4963,18 → 5191,18
1
1
 
1109
1162
MItem
22
CLIB\STRING\snprintf.c
1110
1163
WString
4
COBJ
1111
1164
WVList
 
1112
1165
WVList
 
207
4981,18 → 5209,18
1
1
 
1113
1166
MItem
22
CLIB\STRING\snprtf_s.c
1114
1167
WString
4
COBJ
1115
1168
WVList
 
1116
1169
WVList
 
207
4999,18 → 5227,18
1
1
 
1117
1170
MItem
21
CLIB\STRING\sprintf.c
1118
1171
WString
4
COBJ
1119
1172
WVList
 
1120
1173
WVList
 
207
5017,18 → 5245,18
1
1
 
1121
1174
MItem
22
CLIB\STRING\sprntf_s.c
1122
1175
WString
4
COBJ
1123
1176
WVList
 
1124
1177
WVList
 
207
5035,18 → 5263,18
1
1
 
1125
1178
MItem
20
CLIB\STRING\sscanf.c
1126
1179
WString
4
COBJ
1127
1180
WVList
 
1128
1181
WVList
 
207
5053,18 → 5281,18
1
1
 
1129
1182
MItem
22
CLIB\STRING\sscanf_s.c
1130
1183
WString
4
COBJ
1131
1184
WVList
 
1132
1185
WVList
 
207
5071,18 → 5299,18
1
1
 
1133
1186
MItem
22
CLIB\STRING\stncat_s.c
1134
1187
WString
4
COBJ
1135
1188
WVList
 
1136
1189
WVList
 
207
5089,18 → 5317,18
1
1
 
1137
1190
MItem
22
CLIB\STRING\stncpy_s.c
1138
1191
WString
4
COBJ
1139
1192
WVList
 
1140
1193
WVList
 
207
5107,18 → 5335,18
1
1
 
1141
1194
MItem
20
CLIB\STRING\strcat.c
1142
1195
WString
4
COBJ
1143
1196
WVList
 
1144
1197
WVList
 
207
5125,18 → 5353,18
1
1
 
1145
1198
MItem
22
CLIB\STRING\strcat_s.c
1146
1199
WString
4
COBJ
1147
1200
WVList
 
1148
1201
WVList
 
207
5143,18 → 5371,18
1
1
 
1149
1202
MItem
20
CLIB\STRING\strchr.c
1150
1203
WString
4
COBJ
1151
1204
WVList
 
1152
1205
WVList
 
207
5161,18 → 5389,18
1
1
 
1153
1206
MItem
21
CLIB\STRING\strcoll.c
1154
1207
WString
4
COBJ
1155
1208
WVList
 
1156
1209
WVList
 
207
5179,18 → 5407,18
1
1
 
1157
1210
MItem
20
CLIB\STRING\strcpy.c
1158
1211
WString
4
COBJ
1159
1212
WVList
 
1160
1213
WVList
 
207
5197,18 → 5425,18
1
1
 
1161
1214
MItem
22
CLIB\STRING\strcpy_s.c
1162
1215
WString
4
COBJ
1163
1216
WVList
 
1164
1217
WVList
 
207
5215,18 → 5443,18
1
1
 
1165
1218
MItem
21
CLIB\STRING\strcspn.c
1166
1219
WString
4
COBJ
1167
1220
WVList
 
1168
1221
WVList
 
207
5233,18 → 5461,18
1
1
 
1169
1222
MItem
20
CLIB\STRING\strdup.c
1170
1223
WString
4
COBJ
1171
1224
WVList
 
1172
1225
WVList
 
207
5251,18 → 5479,18
1
1
 
1173
1226
MItem
22
CLIB\STRING\streln_s.c
1174
1227
WString
4
COBJ
1175
1228
WVList
 
1176
1229
WVList
 
207
5269,18 → 5497,18
1
1
 
1177
1230
MItem
22
CLIB\STRING\strerr_s.c
1178
1231
WString
4
COBJ
1179
1232
WVList
 
1180
1233
WVList
 
207
5287,18 → 5515,18
1
1
 
1181
1234
MItem
22
CLIB\STRING\strerror.c
1182
1235
WString
4
COBJ
1183
1236
WVList
 
1184
1237
WVList
 
207
5305,18 → 5533,18
1
1
 
1185
1238
MItem
21
CLIB\STRING\stricmp.c
1186
1239
WString
4
COBJ
1187
1240
WVList
 
1188
1241
WVList
 
207
5323,18 → 5551,18
1
1
 
1189
1242
MItem
21
CLIB\STRING\strlcat.c
1190
1243
WString
4
COBJ
1191
1244
WVList
 
1192
1245
WVList
 
207
5341,18 → 5569,18
1
1
 
1193
1246
MItem
21
CLIB\STRING\strlcpy.c
1194
1247
WString
4
COBJ
1195
1248
WVList
 
1196
1249
WVList
 
207
5359,18 → 5587,18
1
1
 
1197
1250
MItem
20
CLIB\STRING\strlen.c
1198
1251
WString
4
COBJ
1199
1252
WVList
 
1200
1253
WVList
 
207
5377,18 → 5605,18
1
1
 
1201
1254
MItem
20
CLIB\STRING\strlwr.c
1202
1255
WString
4
COBJ
1203
1256
WVList
 
1204
1257
WVList
 
207
5395,18 → 5623,18
1
1
 
1205
1258
MItem
21
CLIB\STRING\strncat.c
1206
1259
WString
4
COBJ
1207
1260
WVList
 
1208
1261
WVList
 
207
5413,18 → 5641,18
1
1
 
1209
1262
MItem
21
CLIB\STRING\strncmp.c
1210
1263
WString
4
COBJ
1211
1264
WVList
 
1212
1265
WVList
 
207
5431,18 → 5659,18
1
1
 
1213
1266
MItem
21
CLIB\STRING\strncpy.c
1214
1267
WString
4
COBJ
1215
1268
WVList
 
1216
1269
WVList
 
207
5449,18 → 5677,18
1
1
 
1217
1270
MItem
22
CLIB\STRING\strnicmp.c
1218
1271
WString
4
COBJ
1219
1272
WVList
 
1220
1273
WVList
 
207
5467,18 → 5695,18
1
1
 
1221
1274
MItem
22
CLIB\STRING\strnln_s.c
1222
1275
WString
4
COBJ
1223
1276
WVList
 
1224
1277
WVList
 
207
5485,18 → 5713,18
1
1
 
1225
1278
MItem
21
CLIB\STRING\strnset.c
1226
1279
WString
4
COBJ
1227
1280
WVList
 
1228
1281
WVList
 
207
5503,18 → 5731,18
1
1
 
1229
1282
MItem
21
CLIB\STRING\strpbrk.c
1230
1283
WString
4
COBJ
1231
1284
WVList
 
1232
1285
WVList
 
207
5521,18 → 5749,18
1
1
 
1233
1286
MItem
21
CLIB\STRING\strrchr.c
1234
1287
WString
4
COBJ
1235
1288
WVList
 
1236
1289
WVList
 
207
5539,18 → 5767,18
1
1
 
1237
1290
MItem
20
CLIB\STRING\strrev.c
1238
1291
WString
4
COBJ
1239
1292
WVList
 
1240
1293
WVList
 
207
5557,18 → 5785,18
1
1
 
1241
1294
MItem
20
CLIB\STRING\strset.c
1242
1295
WString
4
COBJ
1243
1296
WVList
 
1244
1297
WVList
 
207
5575,18 → 5803,18
1
1
 
1245
1298
MItem
20
CLIB\STRING\strspn.c
1246
1299
WString
4
COBJ
1247
1300
WVList
 
1248
1301
WVList
 
207
5593,18 → 5821,18
1
1
 
1249
1302
MItem
21
CLIB\STRING\strspnp.c
1250
1303
WString
4
COBJ
1251
1304
WVList
 
1252
1305
WVList
 
207
5611,18 → 5839,18
1
1
 
1253
1306
MItem
20
CLIB\STRING\strstr.c
1254
1307
WString
4
COBJ
1255
1308
WVList
 
1256
1309
WVList
 
207
5629,18 → 5857,18
1
1
 
1257
1310
MItem
20
CLIB\STRING\strtok.c
1258
1311
WString
4
COBJ
1259
1312
WVList
 
1260
1313
WVList
 
207
5647,18 → 5875,18
1
1
 
1261
1314
MItem
22
CLIB\STRING\strtok_s.c
1262
1315
WString
4
COBJ
1263
1316
WVList
 
1264
1317
WVList
 
207
5665,18 → 5893,18
1
1
 
1265
1318
MItem
20
CLIB\STRING\strupr.c
1266
1319
WString
4
COBJ
1267
1320
WVList
 
1268
1321
WVList
 
207
5683,18 → 5911,18
1
1
 
1269
1322
MItem
21
CLIB\STRING\strxfrm.c
1270
1323
WString
4
COBJ
1271
1324
WVList
 
1272
1325
WVList
 
207
5701,18 → 5929,36
1
1
 
1273
1326
MItem
22
CLIB\STRING\vsprintf.c
1327
WString
4
COBJ
1328
WVList
 
1329
WVList
 
207
1
1
 
1330
MItem
18
CLIB\TIME\gmtime.c
1274
1331
WString
4
COBJ
1275
1332
WVList
 
1276
1333
WVList
 
207
5719,18 → 5965,18
1
1
 
1277
1334
MItem
20
CLIB\TIME\leapyear.c
1278
1335
WString
4
COBJ
1279
1336
WVList
 
1280
1337
WVList
 
207
5737,18 → 5983,18
1
1
 
1281
1338
MItem
20
CLIB\TIME\localtim.c
1282
1339
WString
4
COBJ
1283
1340
WVList
 
1284
1341
WVList
 
207
5755,18 → 6001,18
1
1
 
1285
1342
MItem
20
CLIB\TIME\locmktim.c
1286
1343
WString
4
COBJ
1287
1344
WVList
 
1288
1345
WVList
 
207
5773,18 → 6019,18
1
1
 
1289
1346
MItem
18
CLIB\TIME\mktime.c
1290
1347
WString
4
COBJ
1291
1348
WVList
 
1292
1349
WVList
 
207
5791,18 → 6037,18
1
1
 
1293
1350
MItem
16
CLIB\TIME\time.c
1294
1351
WString
4
COBJ
1295
1352
WVList
 
1296
1353
WVList
 
207
5809,18 → 6055,18
1
1
 
1297
1354
MItem
20
CLIB\TIME\timeutil.c
1298
1355
WString
4
COBJ
1299
1356
WVList
 
1300
1357
WVList
 
207
5827,18 → 6073,18
1
1
 
1301
1358
MItem
17
CLIB\TIME\tzset.c
1302
1359
WString
4
COBJ
1303
1360
WVList
 
1304
1361
WVList
 
207
5845,111 → 6091,111
1
1
 
1305
1362
MItem
3
*.h
1306
1363
WString
3
NIL
1307
1364
WVList
 
1308
1365
WVList
 
-1
1
1
 
1309
 
1366
MItem
20
CLIB\MATH\randnext.h
1310
1367
WString
3
NIL
1311
1368
WVList
 
1312
1369
WVList
 
1305
1362
1
1
 
1313
1370
MItem
20
CLIB\STRING\errstr.h
1314
1371
WString
3
NIL
1315
1372
WVList
 
1316
1373
WVList
 
1305
1362
1
1
 
1317
1374
MItem
22
CLIB\STRING\nextftok.h
1318
1375
WString
3
NIL
1319
1376
WVList
 
1320
1377
WVList
 
1305
1362
1
1
 
1321
1378
MItem
21
CLIB\STRING\nexttok.h
1322
1379
WString
3
NIL
1323
1380
WVList
 
1324
1381
WVList
 
1305
1362
1
1
 
1325
1382
MItem
21
CLIB\STRING\setbits.h
1326
1383
WString
3
NIL
1327
1384
WVList
 
1328
1385
WVList
 
1305
1362
1
1
 
/programs/develop/open watcom/trunk/crt.tgt
0,0 → 1,860
40
targetIdent
 
MProject
1
MComponent
 
2
WString
3
LIB
3
WString
5
n_2sn
1
 
1
4
MCommand
 
5
MCommand
 
6
MItem
7
crt.lib
7
WString
3
LIB
8
WVList
 
9
WVList
1
10
ActionStates
11
WString
5
&Make
12
WVList
 
-1
1
1
 
13
WPickList
35
14
MItem
5
*.asm
15
WString
6
ASMOBJ
16
WVList
5
17
MVState
18
WString
4
WASM
19
WString
25
n????Include directories:
1
20
WString
80
$(%watcom)\h;$(%watcom)\h\nt; "E:\Kos\programs\develop\open watcom\trunk\clib\h"
 
21
MRState
22
WString
4
WASM
23
WString
21
?????Compiler default
1
 
24
MRState
25
WString
4
WASM
26
WString
37
?????In-line Pentium Pro instructions
1
1
27
MRState
28
WString
4
WASM
29
WString
21
?????Compiler default
1
 
30
MRState
31
WString
4
WASM
32
WString
29
?????In-line with coprocessor
1
1
33
WVList
 
-1
1
1
 
34
MItem
21
CLIB\CRT\_8087386.asm
35
WString
6
ASMOBJ
36
WVList
 
37
WVList
 
14
1
1
 
38
MItem
16
CLIB\CRT\chk.asm
39
WString
6
ASMOBJ
40
WVList
 
41
WVList
 
14
1
1
 
42
MItem
20
CLIB\CRT\crwd386.asm
43
WString
6
ASMOBJ
44
WVList
 
45
WVList
 
14
1
1
 
46
MItem
21
CLIB\CRT\cstrtwnt.asm
47
WString
6
ASMOBJ
48
WVList
 
49
WVList
 
14
1
1
 
50
MItem
21
CLIB\CRT\segdefns.asm
51
WString
6
ASMOBJ
52
WVList
 
53
WVList
 
14
1
1
 
54
MItem
21
CLIB\CRT\stjmp386.asm
55
WString
6
ASMOBJ
56
WVList
 
57
WVList
 
14
1
1
 
58
MItem
19
CLIB\CRT\stkwnt.asm
59
WString
6
ASMOBJ
60
WVList
 
61
WVList
 
14
1
1
 
62
MItem
3
*.c
63
WString
4
COBJ
64
WVList
9
65
MVState
66
WString
3
WCC
67
WString
25
n????Include directories:
1
68
WString
80
$(%watcom)\h;$(%watcom)\h\nt; "E:\Kos\programs\develop\open watcom\trunk\clib\h"
 
69
MRState
70
WString
3
WCC
71
WString
27
?????Default byte alignment
1
 
72
MRState
73
WString
3
WCC
74
WString
21
?????1 byte alignment
1
1
75
MRState
76
WString
3
WCC
77
WString
21
?????No optimizations
1
 
78
MRState
79
WString
3
WCC
80
WString
26
?????Fastest possible code
1
1
81
MCState
82
WString
3
WCC
83
WString
30
?????Call/return optimizations
1
1
84
MRState
85
WString
3
WCC
86
WString
21
?????Compiler default
1
 
87
MRState
88
WString
3
WCC
89
WString
21
?????Compiler default
1
 
90
MRState
91
WString
3
WCC
92
WString
37
?????In-line Pentium Pro instructions
1
1
93
WVList
 
-1
1
1
 
94
MItem
17
CLIB\CRT\8087cw.c
95
WString
4
COBJ
96
WVList
 
97
WVList
 
62
1
1
 
98
MItem
19
CLIB\CRT\_8087osi.c
99
WString
4
COBJ
100
WVList
 
101
WVList
 
62
1
1
 
102
MItem
18
CLIB\CRT\___argc.c
103
WString
4
COBJ
104
WVList
 
105
WVList
 
62
1
1
 
106
MItem
16
CLIB\CRT\_exit.c
107
WString
4
COBJ
108
WVList
 
109
WVList
 
62
1
1
 
110
MItem
16
CLIB\CRT\abort.c
111
WString
4
COBJ
112
WVList
 
113
WVList
 
62
1
1
 
114
MItem
16
CLIB\CRT\argcv.c
115
WString
4
COBJ
116
WVList
 
117
WVList
 
62
1
1
 
118
MItem
17
CLIB\CRT\atexit.c
119
WString
4
COBJ
120
WVList
 
121
WVList
 
62
1
1
 
122
MItem
18
CLIB\CRT\binmode.c
123
WString
4
COBJ
124
WVList
 
125
WVList
 
62
1
1
 
126
MItem
18
CLIB\CRT\chk8087.c
127
WString
4
COBJ
128
WVList
 
129
WVList
 
62
1
1
 
130
MItem
16
CLIB\CRT\cinit.c
131
WString
4
COBJ
132
WVList
 
133
WVList
 
62
1
1
 
134
MItem
18
CLIB\CRT\cmdname.c
135
WString
4
COBJ
136
WVList
 
137
WVList
 
62
1
1
 
138
MItem
18
CLIB\CRT\commode.c
139
WString
4
COBJ
140
WVList
 
141
WVList
 
62
1
1
 
142
MItem
17
CLIB\CRT\cvtbuf.c
143
WString
4
COBJ
144
WVList
 
145
WVList
 
62
1
1
 
146
MItem
16
CLIB\CRT\errno.c
147
WString
4
COBJ
148
WVList
 
149
WVList
 
62
1
1
 
150
MItem
19
CLIB\CRT\errnovar.c
151
WString
4
COBJ
152
WVList
 
153
WVList
 
62
1
1
 
154
MItem
15
CLIB\CRT\exit.c
155
WString
4
COBJ
156
WVList
 
157
WVList
 
62
1
1
 
158
MItem
18
CLIB\CRT\fltused.c
159
WString
4
COBJ
160
WVList
 
161
WVList
 
62
1
1
 
162
MItem
19
CLIB\CRT\fpexcept.c
163
WString
4
COBJ
164
WVList
 
165
WVList
 
62
1
1
 
166
MItem
19
CLIB\CRT\initargv.c
167
WString
4
COBJ
168
WVList
 
169
WVList
 
62
1
1
 
170
MItem
19
CLIB\CRT\initrtns.c
171
WString
4
COBJ
172
WVList
 
173
WVList
 
62
1
1
 
174
MItem
17
CLIB\CRT\ioexit.c
175
WString
4
COBJ
176
WVList
 
177
WVList
 
62
1
1
 
178
MItem
18
CLIB\CRT\ljmphdl.c
179
WString
4
COBJ
180
WVList
 
181
WVList
 
62
1
1
 
182
MItem
19
CLIB\CRT\main2wnt.c
183
WString
4
COBJ
184
WVList
 
185
WVList
 
62
1
1
 
186
MItem
19
CLIB\CRT\seterrno.c
187
WString
4
COBJ
188
WVList
 
189
WVList
 
62
1
1
 
190
MItem
19
CLIB\CRT\stackwnt.c
191
WString
4
COBJ
192
WVList
 
193
WVList
 
62
1
1
 
194
MItem
18
CLIB\CRT\xmsgwnt.c
195
WString
4
COBJ
196
WVList
 
197
WVList
 
62
1
1