From 7ad5e56087ce5f5a98bd6803f36a60ac2873f182 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Mon, 28 Jan 2008 13:49:43 +0000 Subject: [PATCH] linking native Kolibri executable git-svn-id: svn://kolibrios.org@704 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/open watcom/trunk/clib.wpj | 10 +- .../open watcom/trunk/clib/alias/_icstrdu.asm | 3 + .../open watcom/trunk/clib/alias/_istrcmp.asm | 3 + .../open watcom/trunk/clib/alias/_istrdup.asm | 3 + .../open watcom/trunk/clib/alias/_istricm.asm | 3 + .../open watcom/trunk/clib/crt/crwd386.asm | 46 +- .../open watcom/trunk/clib/crt/cstrtwnt.asm | 17 +- .../open watcom/trunk/clib/crt/main2wnt.c | 9 +- .../open watcom/trunk/clib/crt/segdefns.asm | 300 +-- .../open watcom/trunk/clib/fpu/chipa32.asm | 21 +- .../open watcom/trunk/clib/fpu/chipd32.asm | 18 +- .../open watcom/trunk/clib/fpu/chipr32.asm | 18 +- .../open watcom/trunk/clib/h/kolibri.h | 39 +- .../open watcom/trunk/clib/h/locales.h | 37 + .../open watcom/trunk/clib/h/localset.h | 36 + .../open watcom/trunk/clib/h/variety.h | 589 ++--- .../open watcom/trunk/clib/handleio/creat.c | 66 + .../open watcom/trunk/clib/handleio/eof.c | 56 + .../open watcom/trunk/clib/heap/grownear.c | 7 +- .../open watcom/trunk/clib/heap/nheapmin.c | 41 +- .../open watcom/trunk/clib/heap/sbrkwnt.c | 7 +- .../open watcom/trunk/clib/misc/locale.c | 46 + .../open watcom/trunk/clib/misc/setlocal.c | 89 + programs/develop/open watcom/trunk/clib_r.tgt | 2216 +++++++++-------- 24 files changed, 2080 insertions(+), 1600 deletions(-) create mode 100644 programs/develop/open watcom/trunk/clib/alias/_icstrdu.asm create mode 100644 programs/develop/open watcom/trunk/clib/alias/_istrcmp.asm create mode 100644 programs/develop/open watcom/trunk/clib/alias/_istrdup.asm create mode 100644 programs/develop/open watcom/trunk/clib/alias/_istricm.asm create mode 100644 programs/develop/open watcom/trunk/clib/h/locales.h create mode 100644 programs/develop/open watcom/trunk/clib/h/localset.h create mode 100644 programs/develop/open watcom/trunk/clib/handleio/creat.c create mode 100644 programs/develop/open watcom/trunk/clib/handleio/eof.c create mode 100644 programs/develop/open watcom/trunk/clib/misc/locale.c create mode 100644 programs/develop/open watcom/trunk/clib/misc/setlocal.c diff --git a/programs/develop/open watcom/trunk/clib.wpj b/programs/develop/open watcom/trunk/clib.wpj index 4fed42714b..82d64c1a1e 100644 --- a/programs/develop/open watcom/trunk/clib.wpj +++ b/programs/develop/open watcom/trunk/clib.wpj @@ -6,8 +6,8 @@ VpeMain WRect 0 370 -10240 -9870 +10304 +9950 2 MProject 3 @@ -42,8 +42,8 @@ WRect WFileName 10 clib_r.tgt -10 -42 +0 +0 11 VComponent 12 @@ -59,5 +59,5 @@ WFileName 7 crt.tgt 0 -17 +20 8 diff --git a/programs/develop/open watcom/trunk/clib/alias/_icstrdu.asm b/programs/develop/open watcom/trunk/clib/alias/_icstrdu.asm new file mode 100644 index 0000000000..7416ec30f6 --- /dev/null +++ b/programs/develop/open watcom/trunk/clib/alias/_icstrdu.asm @@ -0,0 +1,3 @@ +include mdef.inc +alias_function strdup, __clib_strdup +end diff --git a/programs/develop/open watcom/trunk/clib/alias/_istrcmp.asm b/programs/develop/open watcom/trunk/clib/alias/_istrcmp.asm new file mode 100644 index 0000000000..d4cf99604d --- /dev/null +++ b/programs/develop/open watcom/trunk/clib/alias/_istrcmp.asm @@ -0,0 +1,3 @@ +include mdef.inc +alias_function strcmpi, stricmp +end diff --git a/programs/develop/open watcom/trunk/clib/alias/_istrdup.asm b/programs/develop/open watcom/trunk/clib/alias/_istrdup.asm new file mode 100644 index 0000000000..43431e49f3 --- /dev/null +++ b/programs/develop/open watcom/trunk/clib/alias/_istrdup.asm @@ -0,0 +1,3 @@ +include mdef.inc +alias_function _strdup, __clib_strdup +end diff --git a/programs/develop/open watcom/trunk/clib/alias/_istricm.asm b/programs/develop/open watcom/trunk/clib/alias/_istricm.asm new file mode 100644 index 0000000000..0d20a187b9 --- /dev/null +++ b/programs/develop/open watcom/trunk/clib/alias/_istricm.asm @@ -0,0 +1,3 @@ +include mdef.inc +alias_function _stricmp, stricmp +end diff --git a/programs/develop/open watcom/trunk/clib/crt/crwd386.asm b/programs/develop/open watcom/trunk/clib/crt/crwd386.asm index c5ea7c2c1a..e227282850 100644 --- a/programs/develop/open watcom/trunk/clib/crt/crwd386.asm +++ b/programs/develop/open watcom/trunk/clib/crt/crwd386.asm @@ -48,46 +48,32 @@ _TEXT ends _DATA segment dword public 'DATA' assume DS:DGROUP + + extrn ___cmdline : near + extrn ___pgmname : near + +_LpCmdLine dd offset ___cmdline ; pointer to raw command line +_LpPgmName dd offset ___pgmname ; pointer to program name (for argv[0]) + ifndef __NETWARE__ _dynend dd 0 ; top of dynamic data area _curbrk dd 0 ; top of usable memory endif -ifndef __QNX__ -ifndef __LINUX__ -ifndef _NETWARE_LIBC -_LpCmdLine dd 0 ; pointer to raw command line -_LpPgmName dd 0 ; pointer to program name (for argv[0]) -endif -ifdef __NT__ -_LpDllName dd 0 ; pointer to dll name (for OS/2,WIN32) -_LpwCmdLine dd 0 ; pointer to widechar raw command line -_LpwPgmName dd 0 ; pointer to widechar program name (for argv[0]) -_LpwDllName dd 0 ; pointer to widechar dll name (for OS/2,WIN32) -endif -ifdef __OS2__ -_LpDllName dd 0 ; pointer to dll name (for OS/2,WIN32) -_LpwCmdLine dd 0 ; pointer to widechar raw command line -_LpwPgmName dd 0 ; pointer to widechar program name (for argv[0]) -_LpwDllName dd 0 ; pointer to widechar dll name (for OS/2,WIN32) -endif -ifdef __DOS__ -_psp dw 0,0 ; segment addr of program segment prefix -__x386_stacklow label dword -endif -endif -endif -_STACKLOW dd 0 ; lowest address in stack -_STACKTOP dd 0 ; highest address in stack + +_STACKLOW dd 0 ; lowest address in stack +_STACKTOP dd 0 ; highest address in stack __EFG_printf dd 0 __EFG_scanf dd 0 -__ASTACKSIZ dd 0 ; alternate stack size -__ASTACKPTR dd 0 ; alternate stack pointer +__ASTACKSIZ dd 0 ; alternate stack size +__ASTACKPTR dd 0 ; alternate stack pointer + ifndef __NETWARE__ _cbyte dd 0 ; used by getch, getche _cbyte2 dd 0 ; used by getch, getche _child dd 0 ; non-zero => a spawned process is running endif + __no87 dw 0 ; non-zero => "NO87" environment var present ifndef __NETWARE__ ifdef __DOS__ @@ -141,10 +127,6 @@ ifndef _NETWARE_LIBC public "C",_LpPgmName endif ifdef __NT__ - public "C",_LpDllName - public "C",_LpwCmdLine - public "C",_LpwPgmName - public "C",_LpwDllName public "C",_LpCmdLine public "C",_LpPgmName endif diff --git a/programs/develop/open watcom/trunk/clib/crt/cstrtwnt.asm b/programs/develop/open watcom/trunk/clib/crt/cstrtwnt.asm index 8a3ae5feb9..41f88a8993 100644 --- a/programs/develop/open watcom/trunk/clib/crt/cstrtwnt.asm +++ b/programs/develop/open watcom/trunk/clib/crt/cstrtwnt.asm @@ -37,13 +37,12 @@ .386p assume nothing - extrn __NTMain : near - extrn ___begtext : near - extrn __LpCmdLine : near - extrn __LpPgmName : near + extrn __NTMain : near + extrn ___begtext : near extrn __STACKLOW : near extrn __STACKTOP : near - + extrn ___stack_low : near + _TEXT segment use32 word public 'CODE' public _cstart_ @@ -55,13 +54,7 @@ _cstart_ proc near mainCRTStartup: mov dword ptr [__STACKTOP], esp - lea eax, [esp-40000h] - mov dword ptr[__STACKLOW], eax - - mov eax, dword ptr [ds:0x1c] - mov dword ptr [__LpCmdLine], eax - mov eax, dword ptr [ds:0x20] - mov dword ptr [__LpPgmName], eax + mov dword ptr[__STACKLOW], offset ___stack_low jmp __NTMain dd ___begtext ; reference module with segment definitions diff --git a/programs/develop/open watcom/trunk/clib/crt/main2wnt.c b/programs/develop/open watcom/trunk/clib/crt/main2wnt.c index 624a6ebcd4..44b33a2972 100644 --- a/programs/develop/open watcom/trunk/clib/crt/main2wnt.c +++ b/programs/develop/open watcom/trunk/clib/crt/main2wnt.c @@ -36,12 +36,13 @@ #include #include #include -//#include "ntex.h" + +#include "kolibri.h" + //#include "sigtab.h" #include "initfini.h" #include "initarg.h" -void _stdcall InitHeap(int heap_size); int __appcwdlen; char* __appcwd; extern char *LpCmdLine; @@ -74,7 +75,7 @@ void __F_NAME(__NTMain,__wNTMain)( void ) /***************************************/ { - InitHeap(0); + init_heap(); __process_fini = &__FiniRtns; __InitRtns( 255 ); @@ -106,6 +107,8 @@ void __F_NAME(__NTMain,__wNTMain)( void ) #endif #endif +#pragma aux __exit aborts; + _WCRTLINK void __exit( unsigned ret_code ) { __FiniRtns( 0, FINI_PRIORITY_EXIT-1 ); diff --git a/programs/develop/open watcom/trunk/clib/crt/segdefns.asm b/programs/develop/open watcom/trunk/clib/crt/segdefns.asm index af0b96e9cc..c5e2920d13 100644 --- a/programs/develop/open watcom/trunk/clib/crt/segdefns.asm +++ b/programs/develop/open watcom/trunk/clib/crt/segdefns.asm @@ -1,140 +1,160 @@ -;***************************************************************************** -;* -;* 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! -;* -;***************************************************************************** - - -; -; segment definitions for WATCOM C/C++32 -; -include langenv.inc - - name segdefns -.386p - - assume nothing - - -if COMP_CFG_COFF -DGROUP group _NULL,_AFTERNULL,CONST,_DATA,DATA,_BSS,STACK -else -ifdef __LINUX__ -DGROUP group _NULL,_AFTERNULL,CONST,_DATA,DATA,TIB,TI,TIE,XIB,XI,XIE,YIB,YI,YIE,_BSS -else -DGROUP group _NULL,_AFTERNULL,CONST,_DATA,DATA,_BSS,STACK,TIB,TI,TIE,XIB,XI,XIE,YIB,YI,YIE -endif -endif - -; this guarantees that no function pointer will equal NULL -; (WLINK will keep segment 'BEGTEXT' in front) -; This segment must be at least 4 bytes in size to avoid confusing the -; signal function. - -BEGTEXT segment use32 word public 'CODE' - assume cs:BEGTEXT -forever label near - int 3h - jmp short forever - ; NOTE that __begtext needs to be at offset 3 - ; don't move it. i.e. don't change any code before here. -___begtext label byte - nop - nop - nop - nop - public ___begtext - assume cs:nothing -BEGTEXT ends - - assume ds:DGROUP - -_NULL segment para public 'BEGDATA' -__nullarea label word - db 01h,01h,01h,00h - public __nullarea -_NULL ends - -_AFTERNULL segment word public 'BEGDATA' -_AFTERNULL ends - -CONST segment word public 'DATA' -CONST ends - -if COMP_CFG_COFF eq 0 -TIB segment byte public 'DATA' -TIB ends -TI segment byte public 'DATA' -TI ends -TIE segment byte public 'DATA' -TIE ends - -XIB segment word public 'DATA' -_Start_XI label byte - public "C",_Start_XI -XIB ends -XI segment word public 'DATA' -XI ends -XIE segment word public 'DATA' -_End_XI label byte - public "C",_End_XI -XIE ends - -YIB segment word public 'DATA' -_Start_YI label byte - public "C",_Start_YI -YIB ends -YI segment word public 'DATA' -YI ends -YIE segment word public 'DATA' -_End_YI label byte - public "C",_End_YI -YIE ends -endif - -_DATA segment word public 'DATA' -_DATA ends - -DATA segment word public 'DATA' -DATA ends - -_BSS segment word public 'BSS' -_BSS ends - -ifndef __LINUX__ -STACK_SIZE equ 4096h - -STACK segment para stack 'STACK' - db (STACK_SIZE) dup(?) -STACK ends -endif - -_TEXT segment use32 word public 'CODE' -_TEXT ends - - end +;***************************************************************************** +;* +;* 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! +;* +;***************************************************************************** + + +; +; segment definitions for WATCOM C/C++32 +; +include langenv.inc + + name segdefns +.386p + + assume nothing + + extrn _cstart_ : near + extrn __STACKLOW : near + extrn __STACKTOP : near + + +DGROUP group _NULL,_AFTERNULL,CONST,_DATA,DATA,TIB,TI,TIE,XIB,XI,XIE,YIB,YI,YIE,_IEND,_BSS,STACK,MEMSIZE + +; this guarantees that no function pointer will equal NULL +; (WLINK will keep segment 'BEGTEXT' in front) +; This segment must be at least 4 bytes in size to avoid confusing the +; signal function. + +BEGTEXT segment use32 word public 'CODE' + assume cs:BEGTEXT +forever label near + + db 'MENUET01' + dd 0x0001 + dd offset _cstart_ + dd offset ___iend + dd offset MEMSIZE + dd offset MEMSIZE + dd offset ___cmdline + dd offset ___pgmname + + int 3h + jmp short forever + ; NOTE that __begtext needs to be at offset 3 + ; don't move it. i.e. don't change any code before here. +___begtext label byte + nop + nop + nop + nop + public ___begtext + assume cs:nothing +BEGTEXT ends + + assume ds:DGROUP + +_NULL segment para public 'BEGDATA' +__nullarea label word + db 01h,01h,01h,00h + public __nullarea +_NULL ends + +_AFTERNULL segment word public 'BEGDATA' +_AFTERNULL ends + +CONST segment word public 'DATA' +CONST ends + +if COMP_CFG_COFF eq 0 +TIB segment byte public 'DATA' +TIB ends +TI segment byte public 'DATA' +TI ends +TIE segment byte public 'DATA' +TIE ends + +XIB segment word public 'DATA' +_Start_XI label byte + public "C",_Start_XI +XIB ends +XI segment word public 'DATA' +XI ends +XIE segment word public 'DATA' +_End_XI label byte + public "C",_End_XI +XIE ends + +YIB segment word public 'DATA' +_Start_YI label byte + public "C",_Start_YI +YIB ends +YI segment word public 'DATA' +YI ends +YIE segment word public 'DATA' +_End_YI label byte + public "C",_End_YI +YIE ends +endif + +_DATA segment word public 'DATA' +_DATA ends + +DATA segment word public 'DATA' +DATA ends + +_IEND segment word public 'IEND' +___iend label byte +_IEND ends + +_BSS segment word public 'BSS' + + public ___cmdline + public ___pgmname + +___cmdline db 256 dup(?) ; pointer to raw command line +___pgmname db 1024 dup (?) ; pointer to program name (for argv[0]) + +_BSS ends + +STACK segment para stack 'STACK' + +___stack_low label byte + public ___stack_low + +STACK ends + +MEMSIZE segment para stack 'STACK' +MEMSIZE ends + + +_TEXT segment use32 word public 'CODE' +_TEXT ends + + end diff --git a/programs/develop/open watcom/trunk/clib/fpu/chipa32.asm b/programs/develop/open watcom/trunk/clib/fpu/chipa32.asm index f924bfd018..1054dfdd44 100644 --- a/programs/develop/open watcom/trunk/clib/fpu/chipa32.asm +++ b/programs/develop/open watcom/trunk/clib/fpu/chipa32.asm @@ -51,15 +51,10 @@ include mdef.inc _TEXT SEGMENT PARA PUBLIC USE32 'CODE' -_TEXT ENDS +_TEXT ENDS -CONST SEGMENT DWORD PUBLIC USE32 'DATA' -CONST ENDS -CONST2 SEGMENT DWORD PUBLIC USE32 'DATA' -CONST2 ENDS - -DATA32 SEGMENT DWORD PUBLIC USE32 'DATA' +_DATA SEGMENT DWORD PUBLIC USE32 'DATA' Y EQU 0 @@ -145,19 +140,19 @@ atan_k_by_16 dd 000000000H, 000000000H, 000000000H, 000000000H dd 0AC526641H, 0C0CE85B8H, 000003FFEH, 000000000H dd 02168C235H, 0C90FDAA2H, 000003FFEH, 000000000H -DATA32 ENDS +_DATA ENDS -BSS32 SEGMENT DWORD PUBLIC USE32 'BSS' -BSS32 ENDS +_BSS SEGMENT DWORD PUBLIC USE32 'BSS' +_BSS ENDS EXTRN __fdiv_fpr:NEAR -DGROUP GROUP CONST,CONST2,DATA32,BSS32 +DGROUP GROUP _DATA,_BSS _TEXT SEGMENT PARA PUBLIC USE32 'CODE' - ASSUME CS:_TEXT,DS:DGROUP,ES:DGROUP, SS:nothing + ASSUME CS:_TEXT,DS:DGROUP,ES:DGROUP, SS:DGROUP public __fpatan_chk defpe __fpatan_chk @@ -394,4 +389,4 @@ hw_fpatan: __fpatan_chk ENDP _TEXT ENDS - END + END diff --git a/programs/develop/open watcom/trunk/clib/fpu/chipd32.asm b/programs/develop/open watcom/trunk/clib/fpu/chipd32.asm index 26396c515b..809818e6fc 100644 --- a/programs/develop/open watcom/trunk/clib/fpu/chipd32.asm +++ b/programs/develop/open watcom/trunk/clib/fpu/chipd32.asm @@ -167,19 +167,19 @@ ENDM _TEXT SEGMENT DWORD USE32 PUBLIC 'CODE' _TEXT ENDS -DATA32 SEGMENT DWORD USE32 PUBLIC 'DATA' -DATA32 ENDS +_DATA SEGMENT DWORD USE32 PUBLIC 'DATA' +_DATA ENDS -CONST32 SEGMENT DWORD USE32 PUBLIC 'CONST' -CONST32 ENDS +CONST SEGMENT DWORD USE32 PUBLIC 'DATA' +CONST ENDS -BSS32 SEGMENT DWORD USE32 PUBLIC 'BSS' -BSS32 ENDS +_BSS SEGMENT DWORD USE32 PUBLIC 'BSS' +_BSS ENDS -DGROUP GROUP CONST32, BSS32, DATA32 +DGROUP GROUP CONST,_DATA,_BSS -DATA32 SEGMENT DWORD USE32 PUBLIC 'DATA' +_DATA SEGMENT DWORD USE32 PUBLIC 'DATA' fdiv_risc_table DB 0, 1, 0, 0, 4, 0, 0, 7, 0, 0, 10, 0, 0, 13, 0, 0 fdiv_scale_1 DD 03f700000h ;0.9375 @@ -252,7 +252,7 @@ dispatch_table DD offset label0 DD offset label62 DD offset label63 -DATA32 ENDS +_DATA ENDS _TEXT SEGMENT DWORD USE32 PUBLIC 'CODE' diff --git a/programs/develop/open watcom/trunk/clib/fpu/chipr32.asm b/programs/develop/open watcom/trunk/clib/fpu/chipr32.asm index 43eb6be21a..b47329e936 100644 --- a/programs/develop/open watcom/trunk/clib/fpu/chipr32.asm +++ b/programs/develop/open watcom/trunk/clib/fpu/chipr32.asm @@ -63,7 +63,7 @@ endif ENDM -DATA32 SEGMENT DWORD USE32 PUBLIC 'DATA' +_DATA SEGMENT DWORD USE32 PUBLIC 'DATA' ; ; Stack variables for remainder routines. @@ -123,25 +123,17 @@ FPU_STATE ENDS ENV_SIZE EQU 28 -DATA32 ENDS +_DATA ENDS _TEXT SEGMENT DWORD USE32 PUBLIC 'CODE' _TEXT ENDS -DATA32 SEGMENT DWORD USE32 PUBLIC 'DATA' -DATA32 ENDS -CONST32 SEGMENT DWORD USE32 PUBLIC 'CONST' -CONST32 ENDS - -BSS32 SEGMENT DWORD USE32 PUBLIC 'BSS' -BSS32 ENDS - -DGROUP GROUP CONST32, BSS32, DATA32 +DGROUP GROUP _DATA -CODE32 SEGMENT DWORD USE32 PUBLIC 'CODE' +_TEXT SEGMENT DWORD USE32 PUBLIC 'CODE' assume cs:_TEXT, ds:DGROUP, es:DGROUP, ss:nothing @@ -847,5 +839,5 @@ fpinit PROC NEAR fpinit ENDP endif -CODE32 ENDS +_TEXT ENDS END diff --git a/programs/develop/open watcom/trunk/clib/h/kolibri.h b/programs/develop/open watcom/trunk/clib/h/kolibri.h index d888282c2e..a501e6e57b 100644 --- a/programs/develop/open watcom/trunk/clib/h/kolibri.h +++ b/programs/develop/open watcom/trunk/clib/h/kolibri.h @@ -23,6 +23,7 @@ extern "C" #define FILE_NOT_FOUND 5 #define FILE_EOF 6 +#if 0 typedef unsigned int DWORD; typedef unsigned short int WORD; @@ -62,10 +63,6 @@ typedef struct DWORD size_high; } FILEINFO; -void _stdcall InitHeap(int heap_size); -void* _stdcall UserAlloc(int size); -int _stdcall UserFree(void* p); - void _stdcall GetNotify(void *event); void _stdcall CreateThread(void *fn, char *p_stack); @@ -85,7 +82,8 @@ int _stdcall remap_key(int key); int _cdecl get_button_id(); -void delay(int val); +//void delay(int val); + int wait_for_event(int time); int wait_for_event_infinite(); void BeginDraw(void); @@ -99,6 +97,37 @@ void _stdcall make_button(int x, int y, int xsize, int ysize, int id, int color) void _stdcall draw_bar(int x, int y, int xsize, int ysize, int color); void _stdcall write_text(int x,int y,int color,char* text,int len); +#endif + +unsigned init_heap(void); + +#pragma aux init_heap = \ + "mov EAX, 68" \ + "mov EBX, 11" \ + "int 0x40" \ + value [EAX] \ + modify [ EBX ]; + +void *user_alloc(unsigned size); + +void *user_alloc(unsigned size); + +#pragma aux user_alloc = \ + "mov EAX, 68" \ + "mov EBX, 12" \ + "int 0x40" \ + parm [ ECX ] value [EAX] \ + modify [ EBX ]; + +unsigned user_free(void *); + +#pragma aux user_free = \ + "mov EAX, 68" \ + "mov EBX, 13" \ + "int 0x40" \ + parm [ ECX ] value [EAX] \ + modify [ EBX ]; + #ifdef __cplusplus extern "C" } diff --git a/programs/develop/open watcom/trunk/clib/h/locales.h b/programs/develop/open watcom/trunk/clib/h/locales.h new file mode 100644 index 0000000000..f973964d2a --- /dev/null +++ b/programs/develop/open watcom/trunk/clib/h/locales.h @@ -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! +* +****************************************************************************/ + + +/* locales.h */ + +#define C_LOCALE 0 +#define NATIVE_LOCALE 1 +#define INVALID_LOCALE 2 diff --git a/programs/develop/open watcom/trunk/clib/h/localset.h b/programs/develop/open watcom/trunk/clib/h/localset.h new file mode 100644 index 0000000000..00fa9a14f9 --- /dev/null +++ b/programs/develop/open watcom/trunk/clib/h/localset.h @@ -0,0 +1,36 @@ +/**************************************************************************** +* +* 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! +* +****************************************************************************/ + + + +extern char _LocaleSetting[]; +#define _INITLOCALESETTING +#define _LOCALESETTING _LocaleSetting diff --git a/programs/develop/open watcom/trunk/clib/h/variety.h b/programs/develop/open watcom/trunk/clib/h/variety.h index fecec0e16c..5c9d6511d3 100644 --- a/programs/develop/open watcom/trunk/clib/h/variety.h +++ b/programs/develop/open watcom/trunk/clib/h/variety.h @@ -1,293 +1,296 @@ -/**************************************************************************** -* -* 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: Configuration for clib builds. -* -****************************************************************************/ - - -#ifndef _VARIETY_H_INCLUDED -#define _VARIETY_H_INCLUDED - -// -// Note: for the DLL versions of the runtime libraries, this file must be -// included before any of the runtime header files. -// - -#ifndef _COMDEF_H_INCLUDED - #include <_comdef.h> -#endif - -// specialized data reference macro -#define _HUGEDATA _WCDATA - -// memory model macros -#if defined(__SMALL__) - #define __SMALL_DATA__ - #define __SMALL_CODE__ -#elif defined(__FLAT__) - #define __SMALL_DATA__ - #define __SMALL_CODE__ -#elif defined(__MEDIUM__) - #define __SMALL_DATA__ - #define __BIG_CODE__ -#elif defined(__COMPACT__) - #define __BIG_DATA__ - #define __SMALL_CODE__ -#elif defined(__LARGE__) - #define __BIG_DATA__ - #define __BIG_CODE__ -#elif defined(__HUGE__) - #define __BIG_DATA__ - #define __BIG_CODE__ -#elif defined(__AXP__) || defined(__PPC__) || defined(__MIPS__) - // these effectively use near data references - #define __SMALL_DATA__ - #define __SMALL_CODE__ -#else - #error unable to configure memory model -#endif - -// operating system and processor macros -#if defined(__GENERIC__) - #if defined(__386__) - #define __PROTECT_MODE__ - #define __GENERIC_386__ - #elif defined(M_I86) - #define __REAL_MODE__ - #define __GENERIC_086__ - #else - #error unrecognized processor for GENERIC - #endif -#elif defined(__OS2__) - #if defined(M_I86) - #define __REAL_MODE__ - #define __OS2_286__ - #elif defined(__386__) - #define __PROTECT_MODE__ - #define __OS2_386__ - #define __WARP__ - #elif defined(__PPC__) - #define __PROTECT_MODE__ - #define __OS2_PPC__ - #define __WARP__ - #else - #error unrecognized processor for OS2 - #endif -#elif defined(__NT__) - #if !defined(WIN32_LEAN_AND_MEAN) && !defined(WIN32_NICE_AND_FAT) - #define WIN32_LEAN_AND_MEAN - #endif - #define __PROTECT_MODE__ - #if defined(__386__) - #define __NT_386__ - #elif defined(__AXP__) - #define __NT_AXP__ - #elif defined(__PPC__) - #define __NT_PPC__ - #else - #error unrecognized processor for NT - #endif -#elif defined(__WINDOWS__) || defined(__WINDOWS_386__) - #define __PROTECT_MODE__ - #if defined(__386__) - #define __WINDOWS__ - #elif defined(M_I86) - #define __WINDOWS_286__ - #else - #error unrecognized processor for WINDOWS - #endif -#elif defined(__DOS__) - #if defined(__386__) - #define __PROTECT_MODE__ - #define __DOS_386__ - #elif defined(M_I86) - #define __REAL_MODE__ - #define __DOS_086__ - #else - #error unrecognized processor for DOS - #endif -#elif defined(__OSI__) - #if defined(__386__) - #define __PROTECT_MODE__ - #define __OSI_386__ - #else - #error unrecognized processor for OSI - #endif -#elif defined(__QNX__) - #define __PROTECT_MODE__ - #define __UNIX__ - #if defined(__386__) - #define __QNX_386__ - #elif defined(M_I86) - #define __QNX_286__ - #else - #error unrecognized processor for QNX - #endif -#elif defined(__LINUX__) - #define __PROTECT_MODE__ - #define __UNIX__ - #if defined(__386__) - #define __LINUX_386__ - #elif defined(__PPC__) - #define __LINUX_PPC__ - #elif defined(__MIPS__) - #define __LINUX_MIPS__ - #else - #error unrecognized processor for Linux - #endif -#elif defined(__NETWARE__) - #define __PROTECT_MODE__ - #if defined(__386__) - #define __NETWARE_386__ - #else - #error unrecognized processor for NETWARE - #endif -#else - #error unable to configure operating system and processor -#endif - -// handle building dll's with appropriate linkage -#if !defined(__SW_BR) && (defined(__WARP__) || defined(__NT__)) - #if defined(__MAKE_DLL_CLIB) - #undef _WCRTLINK - #undef _WCIRTLINK - #undef _WCRTLINKD - #undef _WMRTLINK - #undef _WMIRTLINK - #undef _WMRTLINKD - #undef _WPRTLINK - #undef _WPIRTLINK - #undef _WPRTLINKD - #if defined(__NT__) - #define _WCRTLINK __declspec(dllexport) _WRTLCALL - #define _WCIRTLINK __declspec(dllexport) _WRTLCALL - #define _WCRTLINKD __declspec(dllexport) - #define _WMRTLINK __declspec(dllimport) _WRTLCALL - #define _WMIRTLINK __declspec(dllimport) _WRTLCALL - #define _WMRTLINKD __declspec(dllimport) - #define _WPRTLINK __declspec(dllimport) _WRTLCALL - #define _WPIRTLINK __declspec(dllimport) _WRTLCALL - #define _WPRTLINKD __declspec(dllimport) - #elif defined(__WARP__) - #define _WCRTLINK __declspec(dllexport) _WRTLCALL - #define _WCIRTLINK __declspec(dllexport) _WRTLCALL - #define _WCRTLINKD __declspec(dllexport) - #define _WMRTLINK _WRTLCALL - #define _WMIRTLINK _WRTLCALL - #define _WMRTLINKD - #define _WPRTLINK _WRTLCALL - #define _WPIRTLINK _WRTLCALL - #define _WPRTLINKD - #endif - #elif defined(__MAKE_DLL_MATHLIB) - #define _RTDLL - #undef _WCRTLINK - #undef _WCIRTLINK - #undef _WCRTLINKD - #undef _WMRTLINK - #undef _WMIRTLINK - #undef _WMRTLINKD - #undef _WPRTLINK - #undef _WPIRTLINK - #undef _WPRTLINKD - #if defined(__NT__) - #define _WCRTLINK __declspec(dllimport) _WRTLCALL - #define _WCIRTLINK __declspec(dllimport) _WRTLCALL - #define _WCRTLINKD __declspec(dllimport) - #define _WMRTLINK __declspec(dllexport) _WRTLCALL - #define _WMIRTLINK __declspec(dllexport) _WRTLCALL - #define _WMRTLINKD __declspec(dllexport) - #define _WPRTLINK __declspec(dllimport) _WRTLCALL - #define _WPIRTLINK __declspec(dllimport) _WRTLCALL - #define _WPRTLINKD __declspec(dllimport) - #elif defined(__WARP__) - #define _WCRTLINK _WRTLCALL - #define _WCIRTLINK _WRTLCALL - #define _WCRTLINKD - #define _WMRTLINK __declspec(dllexport) _WRTLCALL - #define _WMIRTLINK __declspec(dllexport) _WRTLCALL - #define _WMRTLINKD __declspec(dllexport) - #define _WPRTLINK _WRTLCALL - #define _WPIRTLINK _WRTLCALL - #define _WPRTLINKD - #endif - #elif defined(__MAKE_DLL_CPPLIB) - #define _RTDLL - #undef _WCRTLINK - #undef _WCIRTLINK - #undef _WCRTLINKD - #undef _WMRTLINK - #undef _WMIRTLINK - #undef _WMRTLINKD - #undef _WPRTLINK - #undef _WPIRTLINK - #undef _WPRTLINKD - #if defined(__NT__) - #define _WCRTLINK __declspec(dllimport) _WRTLCALL - #define _WCIRTLINK __declspec(dllimport) _WRTLCALL - #define _WCRTLINKD __declspec(dllimport) - #define _WMRTLINK __declspec(dllimport) _WRTLCALL - #define _WMIRTLINK __declspec(dllimport) _WRTLCALL - #define _WMRTLINKD __declspec(dllimport) - #define _WPRTLINK __declspec(dllexport) _WRTLCALL - #define _WPIRTLINK __declspec(dllexport) _WRTLCALL - #define _WPRTLINKD __declspec(dllexport) - #elif defined(__WARP__) - #define _WCRTLINK _WRTLCALL - #define _WCIRTLINK _WRTLCALL - #define _WCRTLINKD - #define _WMRTLINK _WRTLCALL - #define _WMIRTLINK _WRTLCALL - #define _WMRTLINKD - #define _WPRTLINK __declspec(dllexport) _WRTLCALL - #define _WPIRTLINK __declspec(dllexport) _WRTLCALL - #define _WPRTLINKD __declspec(dllexport) - #endif - #endif -#endif - -#define __ptr_check( p, a ) -#define __null_check( p, a ) -#define __stream_check( s, a ) - -#define __ROUND_UP_SIZE( __x, __amt ) (((__x)+((__amt)-1))&(~((__amt)-1))) -/// -/// This doesn't work for far pointer's -/// -///#define __ROUND_UP_PTR( __x, __amt ) ((void *)__ROUND_UP_SIZE((unsigned)(__x),__amt)) -#if defined(M_I86) - #define __ALIGN_SIZE( __x ) __ROUND_UP_SIZE( __x, 2 ) -// #define __ALIGN_PTR( __x ) __ROUND_UP_PTR( __x, 2 ) -#elif defined(__386__) - #define __ALIGN_SIZE( __x ) __ROUND_UP_SIZE( __x, 4 ) -/// #define __ALIGN_PTR( __x ) __ROUND_UP_PTR( __x, 4 ) -#else - #define __ALIGN_SIZE( __x ) __ROUND_UP_SIZE( __x, 8 ) -// #define __ALIGN_PTR( __x ) __ROUND_UP_PTR( __x, 8 ) -#endif - -#endif +/**************************************************************************** +* +* 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: Configuration for clib builds. +* +****************************************************************************/ + + +#ifndef _VARIETY_H_INCLUDED +#define _VARIETY_H_INCLUDED + +// +// Note: for the DLL versions of the runtime libraries, this file must be +// included before any of the runtime header files. +// + +#ifndef _COMDEF_H_INCLUDED + #include <_comdef.h> +#endif + +// specialized data reference macro +#define _HUGEDATA _WCDATA + +// memory model macros +#if defined(__SMALL__) + #define __SMALL_DATA__ + #define __SMALL_CODE__ +#elif defined(__FLAT__) + #define __SMALL_DATA__ + #define __SMALL_CODE__ +#elif defined(__MEDIUM__) + #define __SMALL_DATA__ + #define __BIG_CODE__ +#elif defined(__COMPACT__) + #define __BIG_DATA__ + #define __SMALL_CODE__ +#elif defined(__LARGE__) + #define __BIG_DATA__ + #define __BIG_CODE__ +#elif defined(__HUGE__) + #define __BIG_DATA__ + #define __BIG_CODE__ +#elif defined(__AXP__) || defined(__PPC__) || defined(__MIPS__) + // these effectively use near data references + #define __SMALL_DATA__ + #define __SMALL_CODE__ +#else + #error unable to configure memory model +#endif + +// operating system and processor macros +#if defined(__GENERIC__) + #if defined(__386__) + #define __PROTECT_MODE__ + #define __GENERIC_386__ + #elif defined(M_I86) + #define __REAL_MODE__ + #define __GENERIC_086__ + #else + #error unrecognized processor for GENERIC + #endif +#elif defined(__OS2__) + #if defined(M_I86) + #define __REAL_MODE__ + #define __OS2_286__ + #elif defined(__386__) + #define __PROTECT_MODE__ + #define __OS2_386__ + #define __WARP__ + #elif defined(__PPC__) + #define __PROTECT_MODE__ + #define __OS2_PPC__ + #define __WARP__ + #else + #error unrecognized processor for OS2 + #endif +#elif defined(__NT__) + #if !defined(WIN32_LEAN_AND_MEAN) && !defined(WIN32_NICE_AND_FAT) + #define WIN32_LEAN_AND_MEAN + #endif + #define __PROTECT_MODE__ + #if defined(__386__) + #define __NT_386__ + #elif defined(__AXP__) + #define __NT_AXP__ + #elif defined(__PPC__) + #define __NT_PPC__ + #else + #error unrecognized processor for NT + #endif +#elif defined(__WINDOWS__) || defined(__WINDOWS_386__) + #define __PROTECT_MODE__ + #if defined(__386__) + #define __WINDOWS__ + #elif defined(M_I86) + #define __WINDOWS_286__ + #else + #error unrecognized processor for WINDOWS + #endif +#elif defined(__DOS__) + #if defined(__386__) + #define __PROTECT_MODE__ + #define __DOS_386__ + #elif defined(M_I86) + #define __REAL_MODE__ + #define __DOS_086__ + #else + #error unrecognized processor for DOS + #endif +#elif defined(__OSI__) + #if defined(__386__) + #define __PROTECT_MODE__ + #define __OSI_386__ + #else + #error unrecognized processor for OSI + #endif +#elif defined(__QNX__) + #define __PROTECT_MODE__ + #define __UNIX__ + #if defined(__386__) + #define __QNX_386__ + #elif defined(M_I86) + #define __QNX_286__ + #else + #error unrecognized processor for QNX + #endif +#elif defined(__LINUX__) + #define __PROTECT_MODE__ + #define __UNIX__ + #if defined(__386__) + #define __LINUX_386__ + #elif defined(__PPC__) + #define __LINUX_PPC__ + #elif defined(__MIPS__) + #define __LINUX_MIPS__ + #else + #error unrecognized processor for Linux + #endif +#elif defined(__NETWARE__) + #define __PROTECT_MODE__ + #if defined(__386__) + #define __NETWARE_386__ + #else + #error unrecognized processor for NETWARE + #endif +#else + #error unable to configure operating system and processor +#endif + +// handle building dll's with appropriate linkage +#if !defined(__SW_BR) && (defined(__WARP__) || defined(__NT__)) + #if defined(__MAKE_DLL_CLIB) + #undef _WCRTLINK + #undef _WCIRTLINK + #undef _WCRTLINKD + #undef _WMRTLINK + #undef _WMIRTLINK + #undef _WMRTLINKD + #undef _WPRTLINK + #undef _WPIRTLINK + #undef _WPRTLINKD + #if defined(__NT__) + #define _WCRTLINK __declspec(dllexport) _WRTLCALL + #define _WCIRTLINK __declspec(dllexport) _WRTLCALL + #define _WCRTLINKD __declspec(dllexport) + #define _WMRTLINK __declspec(dllimport) _WRTLCALL + #define _WMIRTLINK __declspec(dllimport) _WRTLCALL + #define _WMRTLINKD __declspec(dllimport) + #define _WPRTLINK __declspec(dllimport) _WRTLCALL + #define _WPIRTLINK __declspec(dllimport) _WRTLCALL + #define _WPRTLINKD __declspec(dllimport) + #elif defined(__WARP__) + #define _WCRTLINK __declspec(dllexport) _WRTLCALL + #define _WCIRTLINK __declspec(dllexport) _WRTLCALL + #define _WCRTLINKD __declspec(dllexport) + #define _WMRTLINK _WRTLCALL + #define _WMIRTLINK _WRTLCALL + #define _WMRTLINKD + #define _WPRTLINK _WRTLCALL + #define _WPIRTLINK _WRTLCALL + #define _WPRTLINKD + #endif + #elif defined(__MAKE_DLL_MATHLIB) + #define _RTDLL + #undef _WCRTLINK + #undef _WCIRTLINK + #undef _WCRTLINKD + #undef _WMRTLINK + #undef _WMIRTLINK + #undef _WMRTLINKD + #undef _WPRTLINK + #undef _WPIRTLINK + #undef _WPRTLINKD + #if defined(__NT__) + #define _WCRTLINK __declspec(dllimport) _WRTLCALL + #define _WCIRTLINK __declspec(dllimport) _WRTLCALL + #define _WCRTLINKD __declspec(dllimport) + #define _WMRTLINK __declspec(dllexport) _WRTLCALL + #define _WMIRTLINK __declspec(dllexport) _WRTLCALL + #define _WMRTLINKD __declspec(dllexport) + #define _WPRTLINK __declspec(dllimport) _WRTLCALL + #define _WPIRTLINK __declspec(dllimport) _WRTLCALL + #define _WPRTLINKD __declspec(dllimport) + #elif defined(__WARP__) + #define _WCRTLINK _WRTLCALL + #define _WCIRTLINK _WRTLCALL + #define _WCRTLINKD + #define _WMRTLINK __declspec(dllexport) _WRTLCALL + #define _WMIRTLINK __declspec(dllexport) _WRTLCALL + #define _WMRTLINKD __declspec(dllexport) + #define _WPRTLINK _WRTLCALL + #define _WPIRTLINK _WRTLCALL + #define _WPRTLINKD + #endif + #elif defined(__MAKE_DLL_CPPLIB) + #define _RTDLL + #undef _WCRTLINK + #undef _WCIRTLINK + #undef _WCRTLINKD + #undef _WMRTLINK + #undef _WMIRTLINK + #undef _WMRTLINKD + #undef _WPRTLINK + #undef _WPIRTLINK + #undef _WPRTLINKD + #if defined(__NT__) + #define _WCRTLINK __declspec(dllimport) _WRTLCALL + #define _WCIRTLINK __declspec(dllimport) _WRTLCALL + #define _WCRTLINKD __declspec(dllimport) + #define _WMRTLINK __declspec(dllimport) _WRTLCALL + #define _WMIRTLINK __declspec(dllimport) _WRTLCALL + #define _WMRTLINKD __declspec(dllimport) + #define _WPRTLINK __declspec(dllexport) _WRTLCALL + #define _WPIRTLINK __declspec(dllexport) _WRTLCALL + #define _WPRTLINKD __declspec(dllexport) + #elif defined(__WARP__) + #define _WCRTLINK _WRTLCALL + #define _WCIRTLINK _WRTLCALL + #define _WCRTLINKD + #define _WMRTLINK _WRTLCALL + #define _WMIRTLINK _WRTLCALL + #define _WMRTLINKD + #define _WPRTLINK __declspec(dllexport) _WRTLCALL + #define _WPIRTLINK __declspec(dllexport) _WRTLCALL + #define _WPRTLINKD __declspec(dllexport) + #endif + #endif +#endif + +#define __ptr_check( p, a ) +#define __null_check( p, a ) +#define __stream_check( s, a ) + +#define __ROUND_UP_SIZE( __x, __amt ) (((__x)+((__amt)-1))&(~((__amt)-1))) +/// +/// This doesn't work for far pointer's +/// +///#define __ROUND_UP_PTR( __x, __amt ) ((void *)__ROUND_UP_SIZE((unsigned)(__x),__amt)) +#if defined(M_I86) + #define __ALIGN_SIZE( __x ) __ROUND_UP_SIZE( __x, 2 ) +// #define __ALIGN_PTR( __x ) __ROUND_UP_PTR( __x, 2 ) +#elif defined(__386__) + #define __ALIGN_SIZE( __x ) __ROUND_UP_SIZE( __x, 4 ) +/// #define __ALIGN_PTR( __x ) __ROUND_UP_PTR( __x, 4 ) +#else + #define __ALIGN_SIZE( __x ) __ROUND_UP_SIZE( __x, 8 ) +// #define __ALIGN_PTR( __x ) __ROUND_UP_PTR( __x, 8 ) +#endif + +#endif + +#undef _WCRTLINKD +#define _WCRTLINKD diff --git a/programs/develop/open watcom/trunk/clib/handleio/creat.c b/programs/develop/open watcom/trunk/clib/handleio/creat.c new file mode 100644 index 0000000000..2534ad2ea0 --- /dev/null +++ b/programs/develop/open watcom/trunk/clib/handleio/creat.c @@ -0,0 +1,66 @@ +/**************************************************************************** +* +* 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: Platform independent implementation of creat(). +* +****************************************************************************/ + + +#include "variety.h" +#include "widechar.h" +#include +#include +#include +#include +#include +#include +#include "seterrno.h" + + +/* file attributes */ +#define _A_RDONLY 0x01 + + +_WCRTLINK int __F_NAME(creat,_wcreat)( const CHAR_TYPE *name, mode_t pmode ) +{ +#ifndef __NETWARE__ + return( __F_NAME(open,_wopen)( name, O_RDWR | O_CREAT | O_TRUNC, pmode ) ); +#else + int acc; + + acc = O_CREAT | O_TRUNC; + if( (pmode & S_IWRITE) && (pmode & S_IREAD) ) { + acc |= O_RDWR; + } else if( pmode & S_IWRITE ) { + acc |= O_WRONLY; + } else if( pmode & S_IREAD ) { + acc |= O_RDONLY; + } else if( !pmode ) { + acc |= O_RDWR; + } + return( __F_NAME(open,_wopen)( name, acc, pmode ) ); +#endif +} diff --git a/programs/develop/open watcom/trunk/clib/handleio/eof.c b/programs/develop/open watcom/trunk/clib/handleio/eof.c new file mode 100644 index 0000000000..3178dbe900 --- /dev/null +++ b/programs/develop/open watcom/trunk/clib/handleio/eof.c @@ -0,0 +1,56 @@ +/**************************************************************************** +* +* 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 +#include +#include "rtcheck.h" + +extern long filelength(int); +extern long tell(int); + + +_WCRTLINK int eof( int handle ) /* determine if at EOF */ +{ + long current_posn, file_len; + + __handle_check( handle, -1 ); + file_len = filelength( handle ); + if( file_len == -1L ) + return( -1 ); + current_posn = tell( handle ); + if( current_posn == -1L ) + return( -1 ); + if( current_posn == file_len ) + return( 1 ); + return( 0 ); +} diff --git a/programs/develop/open watcom/trunk/clib/heap/grownear.c b/programs/develop/open watcom/trunk/clib/heap/grownear.c index 47b3797717..cd61f7d64c 100644 --- a/programs/develop/open watcom/trunk/clib/heap/grownear.c +++ b/programs/develop/open watcom/trunk/clib/heap/grownear.c @@ -29,7 +29,6 @@ ****************************************************************************/ -//#include "dll.h" // needs to be first #include "variety.h" #include #include @@ -45,9 +44,7 @@ // #include "tinyio.h" #endif #if defined(__WINDOWS_286__) || defined(__NT__) -void* _stdcall UserAlloc(int size); - -// #include "windows.h" + #include "kolibri.h" #endif #if defined(__OS2__) // #include @@ -404,7 +401,7 @@ static int __CreateNewNHeap( unsigned amount ) #elif defined(__NT__) // brk_value = (unsigned) VirtualAlloc( NULL, amount, MEM_COMMIT, // PAGE_EXECUTE_READWRITE ); - brk_value = (unsigned) UserAlloc (amount ); + brk_value = (unsigned) user_alloc(amount ); //brk_value = (unsigned) LocalAlloc( LMEM_FIXED, amount ); if( brk_value == 0 ) { diff --git a/programs/develop/open watcom/trunk/clib/heap/nheapmin.c b/programs/develop/open watcom/trunk/clib/heap/nheapmin.c index 7addb4628f..524ceeef7c 100644 --- a/programs/develop/open watcom/trunk/clib/heap/nheapmin.c +++ b/programs/develop/open watcom/trunk/clib/heap/nheapmin.c @@ -29,7 +29,6 @@ ****************************************************************************/ -//#include "dll.h" // needs to be first #include "variety.h" #include #include @@ -40,8 +39,7 @@ // #include "extender.h" #endif #if defined(__WINDOWS_286__) || defined(__NT__) -int _stdcall UserFree(void* p); -// #include "windows.h" + #include "kolibri.h" #endif #if defined(__OS2__) // #include @@ -77,41 +75,6 @@ _WCRTLINK int _nheapmin( void ) defined(__WINDOWS_386__) || \ defined(__NT__) || \ defined(__CALL21__) -static int __ReturnMemToSystem( mheapptr mhp ) -{ - mheapptr pnext; - - pnext = mhp->next; -#if defined(__WARP__) - if( DosFreeMem( (PBYTE)mhp ) ) return( -1 ); -#elif defined(__NT__) - //if( LocalFree( (HLOCAL)mhp ) != NULL ) return( -1 ); -// if (!VirtualFree(mhp, 0, MEM_RELEASE)) -// return -1; - if(!UserFree(mhp)) - return -1; - -#elif defined(__WINDOWS_386__) - if( DPMIFree( (unsigned long)mhp ) != 0 ) return( -1 ); -#elif defined(__WINDOWS_286__) - if( LocalFree( (HLOCAL)mhp ) != NULL ) return( -1 ); -#elif defined(__CALL21__) - // No way to free storage under OSI - if( mhp ) return( -1 ); -#endif - if( __MiniHeapRover == mhp ) { // Update rovers - if( pnext ) { - __MiniHeapRover = pnext; - } else { - __MiniHeapRover = __nheapbeg; - __LargestSizeB4MiniHeapRover = 0; - } - } - if( __MiniHeapFreeRover == mhp ) { - __MiniHeapFreeRover = 0; - } - return( 0 ); // success -} static void __ReleaseMiniHeap( mheapptr mhp ) { @@ -120,7 +83,7 @@ static void __ReleaseMiniHeap( mheapptr mhp ) pprev = mhp->prev; pnext = mhp->next; - if( __ReturnMemToSystem( mhp ) == 0 ) { + if( user_free( mhp ) == 1 ) { if( pprev == NULL ) { __nheapbeg = pnext; } else { diff --git a/programs/develop/open watcom/trunk/clib/heap/sbrkwnt.c b/programs/develop/open watcom/trunk/clib/heap/sbrkwnt.c index 34b33cdbb9..b5124f419a 100644 --- a/programs/develop/open watcom/trunk/clib/heap/sbrkwnt.c +++ b/programs/develop/open watcom/trunk/clib/heap/sbrkwnt.c @@ -35,10 +35,9 @@ #include #include #include -//#include - -void* _stdcall UserAlloc(int size); +#include "kolibri.h" +void* user_alloc(unsigned size); extern unsigned _curbrk; extern unsigned _STACKTOP; @@ -52,7 +51,7 @@ _WCRTLINK void _WCNEAR *sbrk( int increment ) increment = ( increment + 0x0fff ) & ~0x0fff; //p = LocalAlloc( LMEM_FIXED, increment ); //p = VirtualAlloc(NULL, increment, MEM_COMMIT,PAGE_EXECUTE_READWRITE); - p = UserAlloc(increment); + p = user_alloc(increment); if( p != NULL ) return( p ); errno = ENOMEM; } diff --git a/programs/develop/open watcom/trunk/clib/misc/locale.c b/programs/develop/open watcom/trunk/clib/misc/locale.c new file mode 100644 index 0000000000..24e1297b54 --- /dev/null +++ b/programs/develop/open watcom/trunk/clib/misc/locale.c @@ -0,0 +1,46 @@ +/**************************************************************************** +* +* 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 "locales.h" + +char _LocaleSetting[] = { + /* QNX */ + C_LOCALE, /* LC_TYPE */ + C_LOCALE, /* LC_NUMERIC */ + C_LOCALE, /* LC_TIME */ + C_LOCALE, /* LC_COLLATE */ + C_LOCALE, /* LC_MONETARY */ + C_LOCALE, /* LC_MESSAGES */ + C_LOCALE /* LC_ALL */ +}; + diff --git a/programs/develop/open watcom/trunk/clib/misc/setlocal.c b/programs/develop/open watcom/trunk/clib/misc/setlocal.c new file mode 100644 index 0000000000..7b6a11b05f --- /dev/null +++ b/programs/develop/open watcom/trunk/clib/misc/setlocal.c @@ -0,0 +1,89 @@ +/**************************************************************************** +* +* 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 +#include +#include +#include "locales.h" +#include "localset.h" + +#ifdef __WIDECHAR__ +static wchar_t *ValidLocales[] = { + L"C", /* C_LOCALE */ + L"", /* NATIVE_LOCALE */ + NULL /* INVALID_LOCALE */ +}; +#else +static char *ValidLocales[] = { + "C", /* C_LOCALE */ + "", /* NATIVE_LOCALE */ + NULL /* INVALID_LOCALE */ +}; +#endif + + +_WCRTLINK CHAR_TYPE *__F_NAME(setlocale,_wsetlocale)( int category, CHAR_TYPE const *locale ) + { + register int i; + + _INITLOCALESETTING + if( category < LC_CTYPE || category > LC_ALL ) { + return( NULL ); + } + if( locale == NULL ) { + i = _LOCALESETTING[category]; + } else { + i = C_LOCALE; + if( *locale != __F_NAME('\0',L'\0') ) { + for( ; ValidLocales[i]; ++i ) { + if( __F_NAME(strcmp,wcscmp)( locale, ValidLocales[i] ) == 0 ) break; + } + } + if( i != INVALID_LOCALE ) { + _LOCALESETTING[category] = i; + if( category == LC_ALL ) { + _LOCALESETTING[LC_COLLATE] = i; + _LOCALESETTING[LC_CTYPE] = i; + _LOCALESETTING[LC_NUMERIC] = i; + _LOCALESETTING[LC_TIME] = i; + _LOCALESETTING[LC_MONETARY] = i; +#if defined( __UNIX__ ) + _LOCALESETTING[LC_MESSAGES] = i; +#endif + } + } + } + return( ValidLocales[ i ] ); + } + diff --git a/programs/develop/open watcom/trunk/clib_r.tgt b/programs/develop/open watcom/trunk/clib_r.tgt index 56e1e6acdb..15256c8a3a 100644 --- a/programs/develop/open watcom/trunk/clib_r.tgt +++ b/programs/develop/open watcom/trunk/clib_r.tgt @@ -58,7 +58,7 @@ WVList 0 14 WPickList -332 +341 15 MItem 5 @@ -163,12 +163,12 @@ WVList 0 -1 1 -1 +0 0 41 MItem 23 -CLIB\CGSUPP\7fu8386.asm +CLIB\ALIAS\_icstrdu.asm 42 WString 6 @@ -186,7 +186,7 @@ WVList 45 MItem 23 -CLIB\CGSUPP\7u8f386.asm +CLIB\ALIAS\_istrcmp.asm 46 WString 6 @@ -203,8 +203,8 @@ WVList 0 49 MItem -22 -CLIB\CGSUPP\__copy.asm +23 +CLIB\ALIAS\_istrdup.asm 50 WString 6 @@ -221,8 +221,8 @@ WVList 0 53 MItem -22 -CLIB\CGSUPP\__stos.asm +23 +CLIB\ALIAS\_istricm.asm 54 WString 6 @@ -239,8 +239,8 @@ WVList 0 57 MItem -24 -CLIB\CGSUPP\amodf386.asm +23 +CLIB\CGSUPP\7fu8386.asm 58 WString 6 @@ -257,8 +257,8 @@ WVList 0 61 MItem -24 -CLIB\CGSUPP\bufld386.asm +23 +CLIB\CGSUPP\7u8f386.asm 62 WString 6 @@ -276,7 +276,7 @@ WVList 65 MItem 22 -CLIB\CGSUPP\div386.asm +CLIB\CGSUPP\__copy.asm 66 WString 6 @@ -294,7 +294,7 @@ WVList 69 MItem 22 -CLIB\CGSUPP\fdc386.asm +CLIB\CGSUPP\__stos.asm 70 WString 6 @@ -311,8 +311,8 @@ WVList 0 73 MItem -23 -CLIB\CGSUPP\fdfs386.asm +24 +CLIB\CGSUPP\amodf386.asm 74 WString 6 @@ -329,8 +329,8 @@ WVList 0 77 MItem -23 -CLIB\CGSUPP\fdi4386.asm +24 +CLIB\CGSUPP\bufld386.asm 78 WString 6 @@ -347,8 +347,8 @@ WVList 0 81 MItem -23 -CLIB\CGSUPP\fdi8386.asm +22 +CLIB\CGSUPP\div386.asm 82 WString 6 @@ -366,7 +366,7 @@ WVList 85 MItem 22 -CLIB\CGSUPP\fdmath.asm +CLIB\CGSUPP\fdc386.asm 86 WString 6 @@ -383,8 +383,8 @@ WVList 0 89 MItem -24 -CLIB\CGSUPP\fdmth386.asm +23 +CLIB\CGSUPP\fdfs386.asm 90 WString 6 @@ -401,8 +401,8 @@ WVList 0 93 MItem -22 -CLIB\CGSUPP\fdn386.asm +23 +CLIB\CGSUPP\fdi4386.asm 94 WString 6 @@ -419,8 +419,8 @@ WVList 0 97 MItem -24 -CLIB\CGSUPP\fprem386.asm +23 +CLIB\CGSUPP\fdi8386.asm 98 WString 6 @@ -438,7 +438,7 @@ WVList 101 MItem 22 -CLIB\CGSUPP\fsc386.asm +CLIB\CGSUPP\fdmath.asm 102 WString 6 @@ -455,8 +455,8 @@ WVList 0 105 MItem -23 -CLIB\CGSUPP\fsfd386.asm +24 +CLIB\CGSUPP\fdmth386.asm 106 WString 6 @@ -473,8 +473,8 @@ WVList 0 109 MItem -23 -CLIB\CGSUPP\fsi4386.asm +22 +CLIB\CGSUPP\fdn386.asm 110 WString 6 @@ -491,8 +491,8 @@ WVList 0 113 MItem -23 -CLIB\CGSUPP\fsi8386.asm +24 +CLIB\CGSUPP\fprem386.asm 114 WString 6 @@ -509,8 +509,8 @@ WVList 0 117 MItem -24 -CLIB\CGSUPP\fsmth386.asm +22 +CLIB\CGSUPP\fsc386.asm 118 WString 6 @@ -527,8 +527,8 @@ WVList 0 121 MItem -22 -CLIB\CGSUPP\fsn386.asm +23 +CLIB\CGSUPP\fsfd386.asm 122 WString 6 @@ -545,8 +545,8 @@ WVList 0 125 MItem -24 -CLIB\CGSUPP\fstat386.asm +23 +CLIB\CGSUPP\fsi4386.asm 126 WString 6 @@ -564,7 +564,7 @@ WVList 129 MItem 23 -CLIB\CGSUPP\i4fd386.asm +CLIB\CGSUPP\fsi8386.asm 130 WString 6 @@ -581,8 +581,8 @@ WVList 0 133 MItem -23 -CLIB\CGSUPP\i4fs386.asm +24 +CLIB\CGSUPP\fsmth386.asm 134 WString 6 @@ -599,8 +599,8 @@ WVList 0 137 MItem -19 -CLIB\CGSUPP\i8d.asm +22 +CLIB\CGSUPP\fsn386.asm 138 WString 6 @@ -617,8 +617,8 @@ WVList 0 141 MItem -23 -CLIB\CGSUPP\i8fd386.asm +24 +CLIB\CGSUPP\fstat386.asm 142 WString 6 @@ -636,7 +636,7 @@ WVList 145 MItem 23 -CLIB\CGSUPP\i8fs386.asm +CLIB\CGSUPP\i4fd386.asm 146 WString 6 @@ -653,8 +653,8 @@ WVList 0 149 MItem -22 -CLIB\CGSUPP\i8m386.asm +23 +CLIB\CGSUPP\i4fs386.asm 150 WString 6 @@ -671,8 +671,8 @@ WVList 0 153 MItem -23 -CLIB\CGSUPP\i8rs386.asm +19 +CLIB\CGSUPP\i8d.asm 154 WString 6 @@ -690,7 +690,7 @@ WVList 157 MItem 23 -CLIB\CGSUPP\ldiv386.asm +CLIB\CGSUPP\i8fd386.asm 158 WString 6 @@ -707,8 +707,8 @@ WVList 0 161 MItem -24 -CLIB\CGSUPP\lldiv386.asm +23 +CLIB\CGSUPP\i8fs386.asm 162 WString 6 @@ -725,8 +725,8 @@ WVList 0 165 MItem -24 -CLIB\CONVERT\fdmd386.asm +22 +CLIB\CGSUPP\i8m386.asm 166 WString 6 @@ -743,8 +743,8 @@ WVList 0 169 MItem -24 -CLIB\CONVERT\fsms386.asm +23 +CLIB\CGSUPP\i8rs386.asm 170 WString 6 @@ -761,8 +761,8 @@ WVList 0 173 MItem -24 -CLIB\CONVERT\mdfd386.asm +23 +CLIB\CGSUPP\ldiv386.asm 174 WString 6 @@ -780,7 +780,7 @@ WVList 177 MItem 24 -CLIB\CONVERT\msfs386.asm +CLIB\CGSUPP\lldiv386.asm 178 WString 6 @@ -797,8 +797,8 @@ WVList 0 181 MItem -20 -CLIB\FPU\chipa32.asm +24 +CLIB\CONVERT\fdmd386.asm 182 WString 6 @@ -815,8 +815,8 @@ WVList 0 185 MItem -20 -CLIB\FPU\chipd32.asm +24 +CLIB\CONVERT\fsms386.asm 186 WString 6 @@ -833,8 +833,8 @@ WVList 0 189 MItem -20 -CLIB\FPU\chipr32.asm +24 +CLIB\CONVERT\mdfd386.asm 190 WString 6 @@ -851,8 +851,8 @@ WVList 0 193 MItem -20 -CLIB\FPU\chipt32.asm +24 +CLIB\CONVERT\msfs386.asm 194 WString 6 @@ -870,7 +870,7 @@ WVList 197 MItem 20 -CLIB\FPU\chipw32.asm +CLIB\FPU\chipa32.asm 198 WString 6 @@ -887,8 +887,8 @@ WVList 0 201 MItem -19 -CLIB\FPU\fpe387.asm +20 +CLIB\FPU\chipd32.asm 202 WString 6 @@ -906,7 +906,7 @@ WVList 205 MItem 20 -CLIB\FPU\fpeinth.asm +CLIB\FPU\chipr32.asm 206 WString 6 @@ -923,8 +923,8 @@ WVList 0 209 MItem -21 -CLIB\FPU\ini87386.asm +20 +CLIB\FPU\chipt32.asm 210 WString 6 @@ -941,8 +941,8 @@ WVList 0 213 MItem -22 -CLIB\INTEL\chipvar.asm +20 +CLIB\FPU\chipw32.asm 214 WString 6 @@ -959,8 +959,8 @@ WVList 0 217 MItem -23 -CLIB\INTEL\i64ts386.asm +19 +CLIB\FPU\fpe387.asm 218 WString 6 @@ -977,8 +977,8 @@ WVList 0 221 MItem -22 -CLIB\STRING\cmp386.asm +20 +CLIB\FPU\fpeinth.asm 222 WString 6 @@ -995,318 +995,318 @@ WVList 0 225 MItem -3 -*.c +21 +CLIB\FPU\ini87386.asm 226 WString -4 -COBJ +6 +ASMOBJ 227 WVList -18 +0 228 -MVState +WVList +0 +15 +1 +1 +0 229 -WString -3 -WCC +MItem +22 +CLIB\INTEL\chipvar.asm 230 WString -25 -n????Include directories: -1 +6 +ASMOBJ 231 -WString -80 -$(%watcom)\h;$(%watcom)\h\nt; "E:\Kos\programs\develop\open watcom\trunk\clib\h" +WVList 0 232 -MRState -233 -WString -3 -WCC -234 -WString -27 -?????Default byte alignment +WVList +0 +15 +1 1 0 +233 +MItem +23 +CLIB\INTEL\i64ts386.asm +234 +WString +6 +ASMOBJ 235 -MRState +WVList +0 236 -WString -3 -WCC +WVList +0 +15 +1 +1 +0 237 -WString -21 -?????1 byte alignment -1 -1 +MItem +22 +CLIB\STRING\cmp386.asm 238 -MRState +WString +6 +ASMOBJ 239 -WString -3 -WCC +WVList +0 240 -WString -21 -?????No optimizations +WVList +0 +15 +1 1 0 241 -MRState +MItem +3 +*.c 242 WString -3 -WCC +4 +COBJ 243 -WString -24 -?????Space optimizations -1 -1 +WVList +18 244 -MCState +MVState 245 WString 3 WCC 246 WString +25 +n????Include directories: +1 +247 +WString +80 +$(%watcom)\h;$(%watcom)\h\nt; "E:\Kos\programs\develop\open watcom\trunk\clib\h" +0 +248 +MRState +249 +WString +3 +WCC +250 +WString +21 +?????No optimizations +1 +0 +251 +MRState +252 +WString +3 +WCC +253 +WString +27 +?????Average space and time +1 +1 +254 +MCState +255 +WString +3 +WCC +256 +WString 33 ?????Disable stack depth checking 1 1 -247 +257 MCState -248 +258 WString 3 WCC -249 +259 WString 30 ?????Call/return optimizations 1 1 -250 +260 MCState -251 +261 WString 3 WCC -252 +262 WString 25 ?????Relax alias checking 1 1 -253 +263 MCState -254 +264 WString 3 WCC -255 +265 WString 27 ?????Instruction scheduling 1 1 -256 +266 MRState -257 +267 WString 3 WCC -258 +268 WString 29 ?????No debugging information 1 1 -259 +269 MRState -260 +270 WString 3 WCC -261 +271 WString 24 ?????Full debugging info 1 0 -262 +272 MRState -263 +273 WString 3 WCC -264 +274 WString 21 ?????Compiler default 1 0 -265 +275 MRState -266 +276 WString 3 WCC -267 +277 WString 21 ?????Compiler default 1 0 -268 +278 MRState -269 +279 WString 3 WCC -270 +280 WString 33 ?????In-line Pentium instructions 1 1 -271 +281 MRState -272 +282 WString 3 WCC -273 +283 WString 21 ?????Compiler default 1 0 -274 +284 MRState -275 +285 WString 3 WCC -276 +286 WString 29 ?????In-line with coprocessor 1 1 -277 +287 MRState -278 +288 WString 3 WCC -279 +289 +WString +35 +??2??Pentium Register based calling +1 +1 +290 +MRState +291 +WString +3 +WCC +292 +WString +39 +??2??Pentium Pro Register based calling +1 +0 +293 +MRState +294 +WString +3 +WCC +295 WString 21 ??2??32bit Flat model 1 0 -280 +296 MRState -281 +297 WString 3 WCC -282 +298 WString 22 ??2??32bit Small model 1 1 -283 +299 WVList 0 -1 1 0 0 -284 +300 MItem 20 CLIB\CHAR\chartest.c -285 -WString -4 -COBJ -286 -WVList -0 -287 -WVList -0 -225 -1 -1 -0 -288 -MItem -19 -CLIB\CHAR\isalnum.c -289 -WString -4 -COBJ -290 -WVList -0 -291 -WVList -0 -225 -1 -1 -0 -292 -MItem -19 -CLIB\CHAR\isalpha.c -293 -WString -4 -COBJ -294 -WVList -0 -295 -WVList -0 -225 -1 -1 -0 -296 -MItem -19 -CLIB\CHAR\isascii.c -297 -WString -4 -COBJ -298 -WVList -0 -299 -WVList -0 -225 -1 -1 -0 -300 -MItem -19 -CLIB\CHAR\isblank.c 301 WString 4 @@ -1317,14 +1317,14 @@ WVList 303 WVList 0 -225 +241 1 1 0 304 MItem 19 -CLIB\CHAR\iscntrl.c +CLIB\CHAR\isalnum.c 305 WString 4 @@ -1335,14 +1335,14 @@ WVList 307 WVList 0 -225 +241 1 1 0 308 MItem -18 -CLIB\CHAR\iscsym.c +19 +CLIB\CHAR\isalpha.c 309 WString 4 @@ -1353,14 +1353,14 @@ WVList 311 WVList 0 -225 +241 1 1 0 312 MItem 19 -CLIB\CHAR\iscsymf.c +CLIB\CHAR\isascii.c 313 WString 4 @@ -1371,14 +1371,14 @@ WVList 315 WVList 0 -225 +241 1 1 0 316 MItem 19 -CLIB\CHAR\isdigit.c +CLIB\CHAR\isblank.c 317 WString 4 @@ -1389,14 +1389,14 @@ WVList 319 WVList 0 -225 +241 1 1 0 320 MItem 19 -CLIB\CHAR\isgraph.c +CLIB\CHAR\iscntrl.c 321 WString 4 @@ -1407,14 +1407,14 @@ WVList 323 WVList 0 -225 +241 1 1 0 324 MItem -19 -CLIB\CHAR\islower.c +18 +CLIB\CHAR\iscsym.c 325 WString 4 @@ -1425,14 +1425,14 @@ WVList 327 WVList 0 -225 +241 1 1 0 328 MItem 19 -CLIB\CHAR\isprint.c +CLIB\CHAR\iscsymf.c 329 WString 4 @@ -1443,14 +1443,14 @@ WVList 331 WVList 0 -225 +241 1 1 0 332 MItem 19 -CLIB\CHAR\ispunct.c +CLIB\CHAR\isdigit.c 333 WString 4 @@ -1461,14 +1461,14 @@ WVList 335 WVList 0 -225 +241 1 1 0 336 MItem 19 -CLIB\CHAR\isspace.c +CLIB\CHAR\isgraph.c 337 WString 4 @@ -1479,14 +1479,14 @@ WVList 339 WVList 0 -225 +241 1 1 0 340 MItem 19 -CLIB\CHAR\istable.c +CLIB\CHAR\islower.c 341 WString 4 @@ -1497,14 +1497,14 @@ WVList 343 WVList 0 -225 +241 1 1 0 344 MItem 19 -CLIB\CHAR\isupper.c +CLIB\CHAR\isprint.c 345 WString 4 @@ -1515,14 +1515,14 @@ WVList 347 WVList 0 -225 +241 1 1 0 348 MItem -20 -CLIB\CHAR\iswctype.c +19 +CLIB\CHAR\ispunct.c 349 WString 4 @@ -1533,14 +1533,14 @@ WVList 351 WVList 0 -225 +241 1 1 0 352 MItem -20 -CLIB\CHAR\isxdigit.c +19 +CLIB\CHAR\isspace.c 353 WString 4 @@ -1551,14 +1551,14 @@ WVList 355 WVList 0 -225 +241 1 1 0 356 MItem 19 -CLIB\CHAR\tolower.c +CLIB\CHAR\istable.c 357 WString 4 @@ -1569,14 +1569,14 @@ WVList 359 WVList 0 -225 +241 1 1 0 360 MItem 19 -CLIB\CHAR\toupper.c +CLIB\CHAR\isupper.c 361 WString 4 @@ -1587,14 +1587,14 @@ WVList 363 WVList 0 -225 +241 1 1 0 364 MItem 20 -CLIB\CHAR\towctrns.c +CLIB\CHAR\iswctype.c 365 WString 4 @@ -1605,14 +1605,14 @@ WVList 367 WVList 0 -225 +241 1 1 0 368 MItem -23 -CLIB\CONVERT\alphabet.c +20 +CLIB\CHAR\isxdigit.c 369 WString 4 @@ -1623,14 +1623,14 @@ WVList 371 WVList 0 -225 +241 1 1 0 372 MItem 19 -CLIB\CONVERT\atoi.c +CLIB\CHAR\tolower.c 373 WString 4 @@ -1641,14 +1641,14 @@ WVList 375 WVList 0 -225 +241 1 1 0 376 MItem 19 -CLIB\CONVERT\atol.c +CLIB\CHAR\toupper.c 377 WString 4 @@ -1659,14 +1659,14 @@ WVList 379 WVList 0 -225 +241 1 1 0 380 MItem 20 -CLIB\CONVERT\atoll.c +CLIB\CHAR\towctrns.c 381 WString 4 @@ -1677,14 +1677,14 @@ WVList 383 WVList 0 -225 +241 1 1 0 384 MItem -19 -CLIB\CONVERT\itoa.c +23 +CLIB\CONVERT\alphabet.c 385 WString 4 @@ -1695,14 +1695,14 @@ WVList 387 WVList 0 -225 +241 1 1 0 388 MItem -20 -CLIB\CONVERT\lltoa.c +19 +CLIB\CONVERT\atoi.c 389 WString 4 @@ -1713,14 +1713,14 @@ WVList 391 WVList 0 -225 +241 1 1 0 392 MItem 19 -CLIB\CONVERT\ltoa.c +CLIB\CONVERT\atol.c 393 WString 4 @@ -1731,14 +1731,14 @@ WVList 395 WVList 0 -225 +241 1 1 0 396 MItem -21 -CLIB\CONVERT\strtol.c +20 +CLIB\CONVERT\atoll.c 397 WString 4 @@ -1749,14 +1749,14 @@ WVList 399 WVList 0 -225 +241 1 1 0 400 MItem -22 -CLIB\CONVERT\strtoll.c +19 +CLIB\CONVERT\itoa.c 401 WString 4 @@ -1767,14 +1767,14 @@ WVList 403 WVList 0 -225 +241 1 1 0 404 MItem -22 -CLIB\DIRECT\gtcwdwnt.c +20 +CLIB\CONVERT\lltoa.c 405 WString 4 @@ -1785,14 +1785,14 @@ WVList 407 WVList 0 -225 +241 1 1 0 408 MItem -23 -CLIB\ENVIRON\clearenv.c +19 +CLIB\CONVERT\ltoa.c 409 WString 4 @@ -1803,14 +1803,14 @@ WVList 411 WVList 0 -225 +241 1 1 0 412 MItem -22 -CLIB\ENVIRON\environ.c +21 +CLIB\CONVERT\strtol.c 413 WString 4 @@ -1821,14 +1821,14 @@ WVList 415 WVList 0 -225 +241 1 1 0 416 MItem -21 -CLIB\ENVIRON\getenv.c +22 +CLIB\CONVERT\strtoll.c 417 WString 4 @@ -1839,14 +1839,14 @@ WVList 419 WVList 0 -225 +241 1 1 0 420 MItem -20 -CLIB\ENVIRON\gtcmd.c +22 +CLIB\DIRECT\gtcwdwnt.c 421 WString 4 @@ -1857,14 +1857,14 @@ WVList 423 WVList 0 -225 +241 1 1 0 424 MItem 23 -CLIB\ENVIRON\isattwnt.c +CLIB\ENVIRON\clearenv.c 425 WString 4 @@ -1875,14 +1875,14 @@ WVList 427 WVList 0 -225 +241 1 1 0 428 MItem -23 -CLIB\ENVIRON\searchen.c +22 +CLIB\ENVIRON\environ.c 429 WString 4 @@ -1893,14 +1893,14 @@ WVList 431 WVList 0 -225 +241 1 1 0 432 MItem -22 -CLIB\ENVIRON\setenvp.c +21 +CLIB\ENVIRON\getenv.c 433 WString 4 @@ -1911,14 +1911,14 @@ WVList 435 WVList 0 -225 +241 1 1 0 436 MItem -18 -CLIB\FILE\remove.c +20 +CLIB\ENVIRON\gtcmd.c 437 WString 4 @@ -1929,14 +1929,14 @@ WVList 439 WVList 0 -225 +241 1 1 0 440 MItem -18 -CLIB\FPU\cntrl87.c +23 +CLIB\ENVIRON\isattwnt.c 441 WString 4 @@ -1947,14 +1947,14 @@ WVList 443 WVList 0 -225 +241 1 1 0 444 MItem -18 -CLIB\FPU\cntrlfp.c +23 +CLIB\ENVIRON\searchen.c 445 WString 4 @@ -1965,14 +1965,14 @@ WVList 447 WVList 0 -225 +241 1 1 0 448 MItem -19 -CLIB\FPU\fclex387.c +22 +CLIB\ENVIRON\setenvp.c 449 WString 4 @@ -1983,14 +1983,14 @@ WVList 451 WVList 0 -225 +241 1 1 0 452 MItem -24 -CLIB\HANDLEIO\_clsewnt.c +18 +CLIB\FILE\remove.c 453 WString 4 @@ -2001,14 +2001,14 @@ WVList 455 WVList 0 -225 +241 1 1 0 456 MItem -21 -CLIB\HANDLEIO\close.c +18 +CLIB\FPU\cntrl87.c 457 WString 4 @@ -2019,14 +2019,14 @@ WVList 459 WVList 0 -225 +241 1 1 0 460 MItem -23 -CLIB\HANDLEIO\filelen.c +18 +CLIB\FPU\cntrlfp.c 461 WString 4 @@ -2037,14 +2037,14 @@ WVList 463 WVList 0 -225 +241 1 1 0 464 MItem -21 -CLIB\HANDLEIO\fsync.c +19 +CLIB\FPU\fclex387.c 465 WString 4 @@ -2055,14 +2055,14 @@ WVList 467 WVList 0 -225 +241 1 1 0 468 MItem -22 -CLIB\HANDLEIO\hdlman.c +24 +CLIB\HANDLEIO\_clsewnt.c 469 WString 4 @@ -2073,14 +2073,14 @@ WVList 471 WVList 0 -225 +241 1 1 0 472 MItem -22 -CLIB\HANDLEIO\iomode.c +21 +CLIB\HANDLEIO\close.c 473 WString 4 @@ -2091,14 +2091,14 @@ WVList 475 WVList 0 -225 +241 1 1 0 476 MItem -24 -CLIB\HANDLEIO\iomodtty.c +21 +CLIB\HANDLEIO\creat.c 477 WString 4 @@ -2109,14 +2109,14 @@ WVList 479 WVList 0 -225 +241 1 1 0 480 MItem -21 -CLIB\HANDLEIO\lseek.c +19 +CLIB\HANDLEIO\eof.c 481 WString 4 @@ -2127,14 +2127,14 @@ WVList 483 WVList 0 -225 +241 1 1 0 484 MItem -24 -CLIB\HANDLEIO\lseekwnt.c +23 +CLIB\HANDLEIO\filelen.c 485 WString 4 @@ -2145,14 +2145,14 @@ WVList 487 WVList 0 -225 +241 1 1 0 488 MItem -24 -CLIB\HANDLEIO\openklbr.c +21 +CLIB\HANDLEIO\fsync.c 489 WString 4 @@ -2163,14 +2163,14 @@ WVList 491 WVList 0 -225 +241 1 1 0 492 MItem -21 -CLIB\HANDLEIO\qread.c +22 +CLIB\HANDLEIO\hdlman.c 493 WString 4 @@ -2181,14 +2181,14 @@ WVList 495 WVList 0 -225 +241 1 1 0 496 MItem -21 -CLIB\HANDLEIO\qwrit.c +22 +CLIB\HANDLEIO\iomode.c 497 WString 4 @@ -2199,14 +2199,14 @@ WVList 499 WVList 0 -225 +241 1 1 0 500 MItem -20 -CLIB\HANDLEIO\read.c +24 +CLIB\HANDLEIO\iomodtty.c 501 WString 4 @@ -2217,14 +2217,14 @@ WVList 503 WVList 0 -225 +241 1 1 0 504 MItem -24 -CLIB\HANDLEIO\stiomode.c +21 +CLIB\HANDLEIO\lseek.c 505 WString 4 @@ -2235,14 +2235,14 @@ WVList 507 WVList 0 -225 +241 1 1 0 508 MItem -20 -CLIB\HANDLEIO\tell.c +24 +CLIB\HANDLEIO\lseekwnt.c 509 WString 4 @@ -2253,14 +2253,14 @@ WVList 511 WVList 0 -225 +241 1 1 0 512 MItem 24 -CLIB\HANDLEIO\unlnkwnt.c +CLIB\HANDLEIO\openklbr.c 513 WString 4 @@ -2271,14 +2271,14 @@ WVList 515 WVList 0 -225 +241 1 1 0 516 MItem 21 -CLIB\HANDLEIO\write.c +CLIB\HANDLEIO\qread.c 517 WString 4 @@ -2289,14 +2289,14 @@ WVList 519 WVList 0 -225 +241 1 1 0 520 MItem -20 -CLIB\HEAP\amblksiz.c +21 +CLIB\HANDLEIO\qwrit.c 521 WString 4 @@ -2307,14 +2307,14 @@ WVList 523 WVList 0 -225 +241 1 1 0 524 MItem -19 -CLIB\HEAP\ambsptr.c +20 +CLIB\HANDLEIO\read.c 525 WString 4 @@ -2325,14 +2325,14 @@ WVList 527 WVList 0 -225 +241 1 1 0 528 MItem -18 -CLIB\HEAP\calloc.c +24 +CLIB\HANDLEIO\stiomode.c 529 WString 4 @@ -2343,14 +2343,14 @@ WVList 531 WVList 0 -225 +241 1 1 0 532 MItem -18 -CLIB\HEAP\freect.c +20 +CLIB\HANDLEIO\tell.c 533 WString 4 @@ -2361,14 +2361,14 @@ WVList 535 WVList 0 -225 +241 1 1 0 536 MItem -20 -CLIB\HEAP\grownear.c +24 +CLIB\HANDLEIO\unlnkwnt.c 537 WString 4 @@ -2379,14 +2379,14 @@ WVList 539 WVList 0 -225 +241 1 1 0 540 MItem -18 -CLIB\HEAP\heapen.c +21 +CLIB\HANDLEIO\write.c 541 WString 4 @@ -2397,14 +2397,14 @@ WVList 543 WVList 0 -225 +241 1 1 0 544 MItem 20 -CLIB\HEAP\heapgrow.c +CLIB\HEAP\amblksiz.c 545 WString 4 @@ -2415,14 +2415,14 @@ WVList 547 WVList 0 -225 +241 1 1 0 548 MItem -15 -CLIB\HEAP\mem.c +19 +CLIB\HEAP\ambsptr.c 549 WString 4 @@ -2433,14 +2433,14 @@ WVList 551 WVList 0 -225 +241 1 1 0 552 MItem 18 -CLIB\HEAP\memavl.c +CLIB\HEAP\calloc.c 553 WString 4 @@ -2451,14 +2451,14 @@ WVList 555 WVList 0 -225 +241 1 1 0 556 MItem 18 -CLIB\HEAP\memmax.c +CLIB\HEAP\freect.c 557 WString 4 @@ -2469,14 +2469,14 @@ WVList 559 WVList 0 -225 +241 1 1 0 560 MItem -19 -CLIB\HEAP\ncalloc.c +20 +CLIB\HEAP\grownear.c 561 WString 4 @@ -2487,14 +2487,14 @@ WVList 563 WVList 0 -225 +241 1 1 0 564 MItem -19 -CLIB\HEAP\nexpand.c +18 +CLIB\HEAP\heapen.c 565 WString 4 @@ -2505,14 +2505,14 @@ WVList 567 WVList 0 -225 +241 1 1 0 568 MItem -17 -CLIB\HEAP\nfree.c +20 +CLIB\HEAP\heapgrow.c 569 WString 4 @@ -2523,14 +2523,14 @@ WVList 571 WVList 0 -225 +241 1 1 0 572 MItem -20 -CLIB\HEAP\nheapchk.c +15 +CLIB\HEAP\mem.c 573 WString 4 @@ -2541,14 +2541,14 @@ WVList 575 WVList 0 -225 +241 1 1 0 576 MItem -20 -CLIB\HEAP\nheapmin.c +18 +CLIB\HEAP\memavl.c 577 WString 4 @@ -2559,14 +2559,14 @@ WVList 579 WVList 0 -225 +241 1 1 0 580 MItem -20 -CLIB\HEAP\nheapset.c +18 +CLIB\HEAP\memmax.c 581 WString 4 @@ -2577,14 +2577,14 @@ WVList 583 WVList 0 -225 +241 1 1 0 584 MItem -20 -CLIB\HEAP\nheapwal.c +19 +CLIB\HEAP\ncalloc.c 585 WString 4 @@ -2595,14 +2595,14 @@ WVList 587 WVList 0 -225 +241 1 1 0 588 MItem 19 -CLIB\HEAP\nmalloc.c +CLIB\HEAP\nexpand.c 589 WString 4 @@ -2613,14 +2613,14 @@ WVList 591 WVList 0 -225 +241 1 1 0 592 MItem -20 -CLIB\HEAP\nmemneed.c +17 +CLIB\HEAP\nfree.c 593 WString 4 @@ -2631,14 +2631,14 @@ WVList 595 WVList 0 -225 +241 1 1 0 596 MItem -18 -CLIB\HEAP\nmsize.c +20 +CLIB\HEAP\nheapchk.c 597 WString 4 @@ -2649,14 +2649,14 @@ WVList 599 WVList 0 -225 +241 1 1 0 600 MItem 20 -CLIB\HEAP\nrealloc.c +CLIB\HEAP\nheapmin.c 601 WString 4 @@ -2667,14 +2667,14 @@ WVList 603 WVList 0 -225 +241 1 1 0 604 MItem -19 -CLIB\HEAP\sbrkwnt.c +20 +CLIB\HEAP\nheapset.c 605 WString 4 @@ -2685,14 +2685,14 @@ WVList 607 WVList 0 -225 +241 1 1 0 608 MItem 20 -CLIB\INTEL\chipbug.c +CLIB\HEAP\nheapwal.c 609 WString 4 @@ -2703,14 +2703,14 @@ WVList 611 WVList 0 -225 +241 1 1 0 612 MItem -21 -CLIB\INTEL\grabfp87.c +19 +CLIB\HEAP\nmalloc.c 613 WString 4 @@ -2721,14 +2721,14 @@ WVList 615 WVList 0 -225 +241 1 1 0 616 MItem -21 -CLIB\INTEL\save8087.c +20 +CLIB\HEAP\nmemneed.c 617 WString 4 @@ -2739,14 +2739,14 @@ WVList 619 WVList 0 -225 +241 1 1 0 620 MItem -20 -CLIB\INTEL\segread.c +18 +CLIB\HEAP\nmsize.c 621 WString 4 @@ -2757,14 +2757,14 @@ WVList 623 WVList 0 -225 +241 1 1 0 624 MItem -21 -CLIB\KANJI\mbdtoupp.c +20 +CLIB\HEAP\nrealloc.c 625 WString 4 @@ -2775,14 +2775,14 @@ WVList 627 WVList 0 -225 +241 1 1 0 628 MItem -15 -CLIB\MATH\abs.c +19 +CLIB\HEAP\sbrkwnt.c 629 WString 4 @@ -2793,14 +2793,14 @@ WVList 631 WVList 0 -225 +241 1 1 0 632 MItem -19 -CLIB\MATH\hugeval.c +20 +CLIB\INTEL\chipbug.c 633 WString 4 @@ -2811,14 +2811,14 @@ WVList 635 WVList 0 -225 +241 1 1 0 636 MItem -19 -CLIB\MATH\hvalptr.c +21 +CLIB\INTEL\grabfp87.c 637 WString 4 @@ -2829,14 +2829,14 @@ WVList 639 WVList 0 -225 +241 1 1 0 640 MItem -19 -CLIB\MATH\imaxabs.c +21 +CLIB\INTEL\save8087.c 641 WString 4 @@ -2847,14 +2847,14 @@ WVList 643 WVList 0 -225 +241 1 1 0 644 MItem -19 -CLIB\MATH\imaxdiv.c +20 +CLIB\INTEL\segread.c 645 WString 4 @@ -2865,14 +2865,14 @@ WVList 647 WVList 0 -225 +241 1 1 0 648 MItem -16 -CLIB\MATH\labs.c +21 +CLIB\KANJI\mbdtoupp.c 649 WString 4 @@ -2883,14 +2883,14 @@ WVList 651 WVList 0 -225 +241 1 1 0 652 MItem -17 -CLIB\MATH\llabs.c +15 +CLIB\MATH\abs.c 653 WString 4 @@ -2901,14 +2901,14 @@ WVList 655 WVList 0 -225 +241 1 1 0 656 MItem -15 -CLIB\MATH\max.c +19 +CLIB\MATH\hugeval.c 657 WString 4 @@ -2919,14 +2919,14 @@ WVList 659 WVList 0 -225 +241 1 1 0 660 MItem -15 -CLIB\MATH\min.c +19 +CLIB\MATH\hvalptr.c 661 WString 4 @@ -2937,14 +2937,14 @@ WVList 663 WVList 0 -225 +241 1 1 0 664 MItem -16 -CLIB\MATH\rand.c +19 +CLIB\MATH\imaxabs.c 665 WString 4 @@ -2955,14 +2955,14 @@ WVList 667 WVList 0 -225 +241 1 1 0 668 MItem -21 -CLIB\MBYTE\mbcupper.c +19 +CLIB\MATH\imaxdiv.c 669 WString 4 @@ -2973,14 +2973,14 @@ WVList 671 WVList 0 -225 +241 1 1 0 672 MItem -19 -CLIB\MBYTE\mbinit.c +16 +CLIB\MATH\labs.c 673 WString 4 @@ -2991,14 +2991,14 @@ WVList 675 WVList 0 -225 +241 1 1 0 676 MItem -21 -CLIB\MBYTE\mbisdbcs.c +17 +CLIB\MATH\llabs.c 677 WString 4 @@ -3009,14 +3009,14 @@ WVList 679 WVList 0 -225 +241 1 1 0 680 MItem -21 -CLIB\MBYTE\mbislead.c +15 +CLIB\MATH\max.c 681 WString 4 @@ -3027,14 +3027,14 @@ WVList 683 WVList 0 -225 +241 1 1 0 684 MItem -19 -CLIB\MBYTE\mbsinc.c +15 +CLIB\MATH\min.c 685 WString 4 @@ -3045,14 +3045,14 @@ WVList 687 WVList 0 -225 +241 1 1 0 688 MItem -21 -CLIB\MBYTE\mbsnextc.c +16 +CLIB\MATH\rand.c 689 WString 4 @@ -3063,14 +3063,14 @@ WVList 691 WVList 0 -225 +241 1 1 0 692 MItem -19 -CLIB\MBYTE\mbterm.c +21 +CLIB\MBYTE\mbcupper.c 693 WString 4 @@ -3081,14 +3081,14 @@ WVList 695 WVList 0 -225 +241 1 1 0 696 MItem 19 -CLIB\MBYTE\mbtowc.c +CLIB\MBYTE\mbinit.c 697 WString 4 @@ -3099,14 +3099,14 @@ WVList 699 WVList 0 -225 +241 1 1 0 700 MItem -20 -CLIB\MBYTE\setmbcp.c +21 +CLIB\MBYTE\mbisdbcs.c 701 WString 4 @@ -3117,14 +3117,14 @@ WVList 703 WVList 0 -225 +241 1 1 0 704 MItem -19 -CLIB\MBYTE\wctomb.c +21 +CLIB\MBYTE\mbislead.c 705 WString 4 @@ -3135,14 +3135,14 @@ WVList 707 WVList 0 -225 +241 1 1 0 708 MItem -18 -CLIB\MEMORY\bcmp.c +19 +CLIB\MBYTE\mbsinc.c 709 WString 4 @@ -3153,14 +3153,14 @@ WVList 711 WVList 0 -225 +241 1 1 0 712 MItem -19 -CLIB\MEMORY\bcopy.c +21 +CLIB\MBYTE\mbsnextc.c 713 WString 4 @@ -3171,14 +3171,14 @@ WVList 715 WVList 0 -225 +241 1 1 0 716 MItem 19 -CLIB\MEMORY\bzero.c +CLIB\MBYTE\mbterm.c 717 WString 4 @@ -3189,14 +3189,14 @@ WVList 719 WVList 0 -225 +241 1 1 0 720 MItem -22 -CLIB\MEMORY\fmemccpy.c +19 +CLIB\MBYTE\mbtowc.c 721 WString 4 @@ -3207,14 +3207,14 @@ WVList 723 WVList 0 -225 +241 1 1 0 724 MItem -21 -CLIB\MEMORY\fmemchr.c +20 +CLIB\MBYTE\setmbcp.c 725 WString 4 @@ -3225,14 +3225,14 @@ WVList 727 WVList 0 -225 +241 1 1 0 728 MItem -21 -CLIB\MEMORY\fmemcmp.c +19 +CLIB\MBYTE\wctomb.c 729 WString 4 @@ -3243,14 +3243,14 @@ WVList 731 WVList 0 -225 +241 1 1 0 732 MItem -21 -CLIB\MEMORY\fmemcpy.c +18 +CLIB\MEMORY\bcmp.c 733 WString 4 @@ -3261,14 +3261,14 @@ WVList 735 WVList 0 -225 +241 1 1 0 736 MItem -22 -CLIB\MEMORY\fmemicmp.c +19 +CLIB\MEMORY\bcopy.c 737 WString 4 @@ -3279,14 +3279,14 @@ WVList 739 WVList 0 -225 +241 1 1 0 740 MItem -22 -CLIB\MEMORY\fmemmove.c +19 +CLIB\MEMORY\bzero.c 741 WString 4 @@ -3297,14 +3297,14 @@ WVList 743 WVList 0 -225 +241 1 1 0 744 MItem -21 -CLIB\MEMORY\fmemset.c +22 +CLIB\MEMORY\fmemccpy.c 745 WString 4 @@ -3315,14 +3315,14 @@ WVList 747 WVList 0 -225 +241 1 1 0 748 MItem 21 -CLIB\MEMORY\memccpy.c +CLIB\MEMORY\fmemchr.c 749 WString 4 @@ -3333,14 +3333,14 @@ WVList 751 WVList 0 -225 +241 1 1 0 752 MItem -20 -CLIB\MEMORY\memchr.c +21 +CLIB\MEMORY\fmemcmp.c 753 WString 4 @@ -3351,14 +3351,14 @@ WVList 755 WVList 0 -225 +241 1 1 0 756 MItem -20 -CLIB\MEMORY\memcmp.c +21 +CLIB\MEMORY\fmemcpy.c 757 WString 4 @@ -3369,14 +3369,14 @@ WVList 759 WVList 0 -225 +241 1 1 0 760 MItem -20 -CLIB\MEMORY\memcpy.c +22 +CLIB\MEMORY\fmemicmp.c 761 WString 4 @@ -3387,14 +3387,14 @@ WVList 763 WVList 0 -225 +241 1 1 0 764 MItem 22 -CLIB\MEMORY\memcpy_s.c +CLIB\MEMORY\fmemmove.c 765 WString 4 @@ -3405,14 +3405,14 @@ WVList 767 WVList 0 -225 +241 1 1 0 768 MItem 21 -CLIB\MEMORY\memicmp.c +CLIB\MEMORY\fmemset.c 769 WString 4 @@ -3423,14 +3423,14 @@ WVList 771 WVList 0 -225 +241 1 1 0 772 MItem -22 -CLIB\MEMORY\memmov_s.c +21 +CLIB\MEMORY\memccpy.c 773 WString 4 @@ -3441,14 +3441,14 @@ WVList 775 WVList 0 -225 +241 1 1 0 776 MItem -21 -CLIB\MEMORY\memmove.c +20 +CLIB\MEMORY\memchr.c 777 WString 4 @@ -3459,14 +3459,14 @@ WVList 779 WVList 0 -225 +241 1 1 0 780 MItem 20 -CLIB\MEMORY\memset.c +CLIB\MEMORY\memcmp.c 781 WString 4 @@ -3477,14 +3477,14 @@ WVList 783 WVList 0 -225 +241 1 1 0 784 MItem -21 -CLIB\MEMORY\memtest.c +20 +CLIB\MEMORY\memcpy.c 785 WString 4 @@ -3495,14 +3495,14 @@ WVList 787 WVList 0 -225 +241 1 1 0 788 MItem 22 -CLIB\MEMORY\movedata.c +CLIB\MEMORY\memcpy_s.c 789 WString 4 @@ -3513,14 +3513,14 @@ WVList 791 WVList 0 -225 +241 1 1 0 792 MItem -18 -CLIB\MEMORY\swab.c +21 +CLIB\MEMORY\memicmp.c 793 WString 4 @@ -3531,14 +3531,14 @@ WVList 795 WVList 0 -225 +241 1 1 0 796 MItem -20 -CLIB\PROCESS\signl.c +22 +CLIB\MEMORY\memmov_s.c 797 WString 4 @@ -3549,14 +3549,14 @@ WVList 799 WVList 0 -225 +241 1 1 0 800 MItem 21 -CLIB\SEARCH\bsearch.c +CLIB\MEMORY\memmove.c 801 WString 4 @@ -3567,14 +3567,14 @@ WVList 803 WVList 0 -225 +241 1 1 0 804 MItem -21 -CLIB\SEARCH\bsrch_s.c +20 +CLIB\MEMORY\memset.c 805 WString 4 @@ -3585,14 +3585,14 @@ WVList 807 WVList 0 -225 +241 1 1 0 808 MItem -19 -CLIB\SEARCH\lfind.c +21 +CLIB\MEMORY\memtest.c 809 WString 4 @@ -3603,14 +3603,14 @@ WVList 811 WVList 0 -225 +241 1 1 0 812 MItem -21 -CLIB\SEARCH\lsearch.c +22 +CLIB\MEMORY\movedata.c 813 WString 4 @@ -3621,14 +3621,14 @@ WVList 815 WVList 0 -225 +241 1 1 0 816 MItem -19 -CLIB\SEARCH\qsort.c +18 +CLIB\MEMORY\swab.c 817 WString 4 @@ -3639,14 +3639,14 @@ WVList 819 WVList 0 -225 +241 1 1 0 820 MItem -21 -CLIB\SEARCH\qsort_s.c +18 +CLIB\MISC\locale.c 821 WString 4 @@ -3657,14 +3657,14 @@ WVList 823 WVList 0 -225 +241 1 1 0 824 MItem -23 -CLIB\STREAMIO\allocfp.c +20 +CLIB\MISC\setlocal.c 825 WString 4 @@ -3675,14 +3675,14 @@ WVList 827 WVList 0 -225 +241 1 1 0 828 MItem -22 -CLIB\STREAMIO\chktty.c +20 +CLIB\PROCESS\signl.c 829 WString 4 @@ -3693,14 +3693,14 @@ WVList 831 WVList 0 -225 +241 1 1 0 832 MItem -24 -CLIB\STREAMIO\clearerr.c +21 +CLIB\SEARCH\bsearch.c 833 WString 4 @@ -3711,14 +3711,14 @@ WVList 835 WVList 0 -225 +241 1 1 0 836 MItem -24 -CLIB\STREAMIO\comtflag.c +21 +CLIB\SEARCH\bsrch_s.c 837 WString 4 @@ -3729,14 +3729,14 @@ WVList 839 WVList 0 -225 +241 1 1 0 840 MItem -23 -CLIB\STREAMIO\dsetefg.c +19 +CLIB\SEARCH\lfind.c 841 WString 4 @@ -3747,14 +3747,14 @@ WVList 843 WVList 0 -225 +241 1 1 0 844 MItem -22 -CLIB\STREAMIO\fclose.c +21 +CLIB\SEARCH\lsearch.c 845 WString 4 @@ -3765,14 +3765,14 @@ WVList 847 WVList 0 -225 +241 1 1 0 848 MItem -22 -CLIB\STREAMIO\fdopen.c +19 +CLIB\SEARCH\qsort.c 849 WString 4 @@ -3783,14 +3783,14 @@ WVList 851 WVList 0 -225 +241 1 1 0 852 MItem -20 -CLIB\STREAMIO\feof.c +21 +CLIB\SEARCH\qsort_s.c 853 WString 4 @@ -3801,14 +3801,14 @@ WVList 855 WVList 0 -225 +241 1 1 0 856 MItem -22 -CLIB\STREAMIO\ferror.c +23 +CLIB\STREAMIO\allocfp.c 857 WString 4 @@ -3819,14 +3819,14 @@ WVList 859 WVList 0 -225 +241 1 1 0 860 MItem 22 -CLIB\STREAMIO\fflush.c +CLIB\STREAMIO\chktty.c 861 WString 4 @@ -3837,14 +3837,14 @@ WVList 863 WVList 0 -225 +241 1 1 0 864 MItem -21 -CLIB\STREAMIO\fgetc.c +24 +CLIB\STREAMIO\clearerr.c 865 WString 4 @@ -3855,14 +3855,14 @@ WVList 867 WVList 0 -225 +241 1 1 0 868 MItem 24 -CLIB\STREAMIO\fgetchar.c +CLIB\STREAMIO\comtflag.c 869 WString 4 @@ -3873,14 +3873,14 @@ WVList 871 WVList 0 -225 +241 1 1 0 872 MItem 23 -CLIB\STREAMIO\fgetpos.c +CLIB\STREAMIO\dsetefg.c 873 WString 4 @@ -3891,14 +3891,14 @@ WVList 875 WVList 0 -225 +241 1 1 0 876 MItem -21 -CLIB\STREAMIO\fgets.c +22 +CLIB\STREAMIO\fclose.c 877 WString 4 @@ -3909,14 +3909,14 @@ WVList 879 WVList 0 -225 +241 1 1 0 880 MItem -21 -CLIB\STREAMIO\flush.c +22 +CLIB\STREAMIO\fdopen.c 881 WString 4 @@ -3927,14 +3927,14 @@ WVList 883 WVList 0 -225 +241 1 1 0 884 MItem -24 -CLIB\STREAMIO\flushall.c +20 +CLIB\STREAMIO\feof.c 885 WString 4 @@ -3945,14 +3945,14 @@ WVList 887 WVList 0 -225 +241 1 1 0 888 MItem -21 -CLIB\STREAMIO\fopen.c +22 +CLIB\STREAMIO\ferror.c 889 WString 4 @@ -3963,14 +3963,14 @@ WVList 891 WVList 0 -225 +241 1 1 0 892 MItem -23 -CLIB\STREAMIO\fopen_s.c +22 +CLIB\STREAMIO\fflush.c 893 WString 4 @@ -3981,14 +3981,14 @@ WVList 895 WVList 0 -225 +241 1 1 0 896 MItem -23 -CLIB\STREAMIO\fprintf.c +21 +CLIB\STREAMIO\fgetc.c 897 WString 4 @@ -3999,14 +3999,14 @@ WVList 899 WVList 0 -225 +241 1 1 0 900 MItem 24 -CLIB\STREAMIO\fprntf_s.c +CLIB\STREAMIO\fgetchar.c 901 WString 4 @@ -4017,14 +4017,14 @@ WVList 903 WVList 0 -225 +241 1 1 0 904 MItem -21 -CLIB\STREAMIO\fprtf.c +23 +CLIB\STREAMIO\fgetpos.c 905 WString 4 @@ -4035,14 +4035,14 @@ WVList 907 WVList 0 -225 +241 1 1 0 908 MItem -23 -CLIB\STREAMIO\fprtf_s.c +21 +CLIB\STREAMIO\fgets.c 909 WString 4 @@ -4053,14 +4053,14 @@ WVList 911 WVList 0 -225 +241 1 1 0 912 MItem 21 -CLIB\STREAMIO\fputc.c +CLIB\STREAMIO\flush.c 913 WString 4 @@ -4071,14 +4071,14 @@ WVList 915 WVList 0 -225 +241 1 1 0 916 MItem 24 -CLIB\STREAMIO\fputchar.c +CLIB\STREAMIO\flushall.c 917 WString 4 @@ -4089,14 +4089,14 @@ WVList 919 WVList 0 -225 +241 1 1 0 920 MItem 21 -CLIB\STREAMIO\fputs.c +CLIB\STREAMIO\fopen.c 921 WString 4 @@ -4107,14 +4107,14 @@ WVList 923 WVList 0 -225 +241 1 1 0 924 MItem -21 -CLIB\STREAMIO\fread.c +23 +CLIB\STREAMIO\fopen_s.c 925 WString 4 @@ -4125,14 +4125,14 @@ WVList 927 WVList 0 -225 +241 1 1 0 928 MItem -22 -CLIB\STREAMIO\freefp.c +23 +CLIB\STREAMIO\fprintf.c 929 WString 4 @@ -4143,14 +4143,14 @@ WVList 931 WVList 0 -225 +241 1 1 0 932 MItem -23 -CLIB\STREAMIO\freop_s.c +24 +CLIB\STREAMIO\fprntf_s.c 933 WString 4 @@ -4161,14 +4161,14 @@ WVList 935 WVList 0 -225 +241 1 1 0 936 MItem -22 -CLIB\STREAMIO\fscanf.c +21 +CLIB\STREAMIO\fprtf.c 937 WString 4 @@ -4179,14 +4179,14 @@ WVList 939 WVList 0 -225 +241 1 1 0 940 MItem -24 -CLIB\STREAMIO\fscanf_s.c +23 +CLIB\STREAMIO\fprtf_s.c 941 WString 4 @@ -4197,14 +4197,14 @@ WVList 943 WVList 0 -225 +241 1 1 0 944 MItem 21 -CLIB\STREAMIO\fseek.c +CLIB\STREAMIO\fputc.c 945 WString 4 @@ -4215,14 +4215,14 @@ WVList 947 WVList 0 -225 +241 1 1 0 948 MItem -23 -CLIB\STREAMIO\fsetpos.c +24 +CLIB\STREAMIO\fputchar.c 949 WString 4 @@ -4233,14 +4233,14 @@ WVList 951 WVList 0 -225 +241 1 1 0 952 MItem 21 -CLIB\STREAMIO\ftell.c +CLIB\STREAMIO\fputs.c 953 WString 4 @@ -4251,14 +4251,14 @@ WVList 955 WVList 0 -225 +241 1 1 0 956 MItem 21 -CLIB\STREAMIO\fwide.c +CLIB\STREAMIO\fread.c 957 WString 4 @@ -4269,14 +4269,14 @@ WVList 959 WVList 0 -225 +241 1 1 0 960 MItem 22 -CLIB\STREAMIO\fwrite.c +CLIB\STREAMIO\freefp.c 961 WString 4 @@ -4287,14 +4287,14 @@ WVList 963 WVList 0 -225 +241 1 1 0 964 MItem -20 -CLIB\STREAMIO\getc.c +23 +CLIB\STREAMIO\freop_s.c 965 WString 4 @@ -4305,14 +4305,14 @@ WVList 967 WVList 0 -225 +241 1 1 0 968 MItem -23 -CLIB\STREAMIO\getchar.c +22 +CLIB\STREAMIO\fscanf.c 969 WString 4 @@ -4323,14 +4323,14 @@ WVList 971 WVList 0 -225 +241 1 1 0 972 MItem -20 -CLIB\STREAMIO\gets.c +24 +CLIB\STREAMIO\fscanf_s.c 973 WString 4 @@ -4341,14 +4341,14 @@ WVList 975 WVList 0 -225 +241 1 1 0 976 MItem -22 -CLIB\STREAMIO\gets_s.c +21 +CLIB\STREAMIO\fseek.c 977 WString 4 @@ -4359,14 +4359,14 @@ WVList 979 WVList 0 -225 +241 1 1 0 980 MItem -20 -CLIB\STREAMIO\getw.c +23 +CLIB\STREAMIO\fsetpos.c 981 WString 4 @@ -4377,14 +4377,14 @@ WVList 983 WVList 0 -225 +241 1 1 0 984 MItem -24 -CLIB\STREAMIO\initfile.c +21 +CLIB\STREAMIO\ftell.c 985 WString 4 @@ -4395,14 +4395,14 @@ WVList 987 WVList 0 -225 +241 1 1 0 988 MItem -23 -CLIB\STREAMIO\ioalloc.c +21 +CLIB\STREAMIO\fwide.c 989 WString 4 @@ -4413,14 +4413,14 @@ WVList 991 WVList 0 -225 +241 1 1 0 992 MItem -19 -CLIB\STREAMIO\iob.c +22 +CLIB\STREAMIO\fwrite.c 993 WString 4 @@ -4431,14 +4431,14 @@ WVList 995 WVList 0 -225 +241 1 1 0 996 MItem -23 -CLIB\STREAMIO\iobaddr.c +20 +CLIB\STREAMIO\getc.c 997 WString 4 @@ -4449,14 +4449,14 @@ WVList 999 WVList 0 -225 +241 1 1 0 1000 MItem -22 -CLIB\STREAMIO\iobptr.c +23 +CLIB\STREAMIO\getchar.c 1001 WString 4 @@ -4467,14 +4467,14 @@ WVList 1003 WVList 0 -225 +241 1 1 0 1004 MItem -24 -CLIB\STREAMIO\noefgfmt.c +20 +CLIB\STREAMIO\gets.c 1005 WString 4 @@ -4485,14 +4485,14 @@ WVList 1007 WVList 0 -225 +241 1 1 0 1008 MItem 22 -CLIB\STREAMIO\perror.c +CLIB\STREAMIO\gets_s.c 1009 WString 4 @@ -4503,14 +4503,14 @@ WVList 1011 WVList 0 -225 +241 1 1 0 1012 MItem -22 -CLIB\STREAMIO\printf.c +20 +CLIB\STREAMIO\getw.c 1013 WString 4 @@ -4521,14 +4521,14 @@ WVList 1015 WVList 0 -225 +241 1 1 0 1016 MItem 24 -CLIB\STREAMIO\printf_s.c +CLIB\STREAMIO\initfile.c 1017 WString 4 @@ -4539,14 +4539,14 @@ WVList 1019 WVList 0 -225 +241 1 1 0 1020 MItem -20 -CLIB\STREAMIO\prtf.c +23 +CLIB\STREAMIO\ioalloc.c 1021 WString 4 @@ -4557,14 +4557,14 @@ WVList 1023 WVList 0 -225 +241 1 1 0 1024 MItem -22 -CLIB\STREAMIO\prtf_s.c +19 +CLIB\STREAMIO\iob.c 1025 WString 4 @@ -4575,14 +4575,14 @@ WVList 1027 WVList 0 -225 +241 1 1 0 1028 MItem -20 -CLIB\STREAMIO\putc.c +23 +CLIB\STREAMIO\iobaddr.c 1029 WString 4 @@ -4593,14 +4593,14 @@ WVList 1031 WVList 0 -225 +241 1 1 0 1032 MItem -23 -CLIB\STREAMIO\putchar.c +22 +CLIB\STREAMIO\iobptr.c 1033 WString 4 @@ -4611,14 +4611,14 @@ WVList 1035 WVList 0 -225 +241 1 1 0 1036 MItem -20 -CLIB\STREAMIO\puts.c +24 +CLIB\STREAMIO\noefgfmt.c 1037 WString 4 @@ -4629,14 +4629,14 @@ WVList 1039 WVList 0 -225 +241 1 1 0 1040 MItem -20 -CLIB\STREAMIO\putw.c +22 +CLIB\STREAMIO\perror.c 1041 WString 4 @@ -4647,14 +4647,14 @@ WVList 1043 WVList 0 -225 +241 1 1 0 1044 MItem 22 -CLIB\STREAMIO\rewind.c +CLIB\STREAMIO\printf.c 1045 WString 4 @@ -4665,14 +4665,14 @@ WVList 1047 WVList 0 -225 +241 1 1 0 1048 MItem -21 -CLIB\STREAMIO\scanf.c +24 +CLIB\STREAMIO\printf_s.c 1049 WString 4 @@ -4683,14 +4683,14 @@ WVList 1051 WVList 0 -225 +241 1 1 0 1052 MItem -23 -CLIB\STREAMIO\scanf_s.c +20 +CLIB\STREAMIO\prtf.c 1053 WString 4 @@ -4701,14 +4701,14 @@ WVList 1055 WVList 0 -225 +241 1 1 0 1056 MItem -20 -CLIB\STREAMIO\scnf.c +22 +CLIB\STREAMIO\prtf_s.c 1057 WString 4 @@ -4719,14 +4719,14 @@ WVList 1059 WVList 0 -225 +241 1 1 0 1060 MItem -22 -CLIB\STREAMIO\scnf_s.c +20 +CLIB\STREAMIO\putc.c 1061 WString 4 @@ -4737,14 +4737,14 @@ WVList 1063 WVList 0 -225 +241 1 1 0 1064 MItem -22 -CLIB\STREAMIO\setbuf.c +23 +CLIB\STREAMIO\putchar.c 1065 WString 4 @@ -4755,14 +4755,14 @@ WVList 1067 WVList 0 -225 +241 1 1 0 1068 MItem -22 -CLIB\STREAMIO\setefg.c +20 +CLIB\STREAMIO\puts.c 1069 WString 4 @@ -4773,14 +4773,14 @@ WVList 1071 WVList 0 -225 +241 1 1 0 1072 MItem -23 -CLIB\STREAMIO\setvbuf.c +20 +CLIB\STREAMIO\putw.c 1073 WString 4 @@ -4791,14 +4791,14 @@ WVList 1075 WVList 0 -225 +241 1 1 0 1076 MItem -21 -CLIB\STREAMIO\tmpfl.c +22 +CLIB\STREAMIO\rewind.c 1077 WString 4 @@ -4809,14 +4809,14 @@ WVList 1079 WVList 0 -225 +241 1 1 0 1080 MItem -23 -CLIB\STREAMIO\tmputil.c +21 +CLIB\STREAMIO\scanf.c 1081 WString 4 @@ -4827,14 +4827,14 @@ WVList 1083 WVList 0 -225 +241 1 1 0 1084 MItem -18 -CLIB\STRING\bits.c +23 +CLIB\STREAMIO\scanf_s.c 1085 WString 4 @@ -4845,14 +4845,14 @@ WVList 1087 WVList 0 -225 +241 1 1 0 1088 MItem -21 -CLIB\STRING\bprintf.c +20 +CLIB\STREAMIO\scnf.c 1089 WString 4 @@ -4863,14 +4863,14 @@ WVList 1091 WVList 0 -225 +241 1 1 0 1092 MItem 22 -CLIB\STRING\fsetbits.c +CLIB\STREAMIO\scnf_s.c 1093 WString 4 @@ -4881,14 +4881,14 @@ WVList 1095 WVList 0 -225 +241 1 1 0 1096 MItem -21 -CLIB\STRING\fstrcat.c +22 +CLIB\STREAMIO\setbuf.c 1097 WString 4 @@ -4899,14 +4899,14 @@ WVList 1099 WVList 0 -225 +241 1 1 0 1100 MItem -21 -CLIB\STRING\fstrchr.c +22 +CLIB\STREAMIO\setefg.c 1101 WString 4 @@ -4917,14 +4917,14 @@ WVList 1103 WVList 0 -225 +241 1 1 0 1104 MItem -21 -CLIB\STRING\fstrcmp.c +23 +CLIB\STREAMIO\setvbuf.c 1105 WString 4 @@ -4935,14 +4935,14 @@ WVList 1107 WVList 0 -225 +241 1 1 0 1108 MItem 21 -CLIB\STRING\fstrcpy.c +CLIB\STREAMIO\tmpfl.c 1109 WString 4 @@ -4953,14 +4953,14 @@ WVList 1111 WVList 0 -225 +241 1 1 0 1112 MItem -22 -CLIB\STRING\fstrcspn.c +23 +CLIB\STREAMIO\tmputil.c 1113 WString 4 @@ -4971,14 +4971,14 @@ WVList 1115 WVList 0 -225 +241 1 1 0 1116 MItem -21 -CLIB\STRING\fstrdup.c +18 +CLIB\STRING\bits.c 1117 WString 4 @@ -4989,14 +4989,14 @@ WVList 1119 WVList 0 -225 +241 1 1 0 1120 MItem -22 -CLIB\STRING\fstricmp.c +21 +CLIB\STRING\bprintf.c 1121 WString 4 @@ -5007,14 +5007,14 @@ WVList 1123 WVList 0 -225 +241 1 1 0 1124 MItem -21 -CLIB\STRING\fstrlen.c +22 +CLIB\STRING\fsetbits.c 1125 WString 4 @@ -5025,14 +5025,14 @@ WVList 1127 WVList 0 -225 +241 1 1 0 1128 MItem 21 -CLIB\STRING\fstrlwr.c +CLIB\STRING\fstrcat.c 1129 WString 4 @@ -5043,14 +5043,14 @@ WVList 1131 WVList 0 -225 +241 1 1 0 1132 MItem -22 -CLIB\STRING\fstrncat.c +21 +CLIB\STRING\fstrchr.c 1133 WString 4 @@ -5061,14 +5061,14 @@ WVList 1135 WVList 0 -225 +241 1 1 0 1136 MItem -22 -CLIB\STRING\fstrncmp.c +21 +CLIB\STRING\fstrcmp.c 1137 WString 4 @@ -5079,14 +5079,14 @@ WVList 1139 WVList 0 -225 +241 1 1 0 1140 MItem -22 -CLIB\STRING\fstrncpy.c +21 +CLIB\STRING\fstrcpy.c 1141 WString 4 @@ -5097,14 +5097,14 @@ WVList 1143 WVList 0 -225 +241 1 1 0 1144 MItem 22 -CLIB\STRING\fstrnicm.c +CLIB\STRING\fstrcspn.c 1145 WString 4 @@ -5115,14 +5115,14 @@ WVList 1147 WVList 0 -225 +241 1 1 0 1148 MItem -22 -CLIB\STRING\fstrnset.c +21 +CLIB\STRING\fstrdup.c 1149 WString 4 @@ -5133,14 +5133,14 @@ WVList 1151 WVList 0 -225 +241 1 1 0 1152 MItem 22 -CLIB\STRING\fstrpbrk.c +CLIB\STRING\fstricmp.c 1153 WString 4 @@ -5151,14 +5151,14 @@ WVList 1155 WVList 0 -225 +241 1 1 0 1156 MItem -22 -CLIB\STRING\fstrrchr.c +21 +CLIB\STRING\fstrlen.c 1157 WString 4 @@ -5169,14 +5169,14 @@ WVList 1159 WVList 0 -225 +241 1 1 0 1160 MItem 21 -CLIB\STRING\fstrrev.c +CLIB\STRING\fstrlwr.c 1161 WString 4 @@ -5187,14 +5187,14 @@ WVList 1163 WVList 0 -225 +241 1 1 0 1164 MItem -21 -CLIB\STRING\fstrset.c +22 +CLIB\STRING\fstrncat.c 1165 WString 4 @@ -5205,14 +5205,14 @@ WVList 1167 WVList 0 -225 +241 1 1 0 1168 MItem -21 -CLIB\STRING\fstrspn.c +22 +CLIB\STRING\fstrncmp.c 1169 WString 4 @@ -5223,14 +5223,14 @@ WVList 1171 WVList 0 -225 +241 1 1 0 1172 MItem 22 -CLIB\STRING\fstrspnp.c +CLIB\STRING\fstrncpy.c 1173 WString 4 @@ -5241,14 +5241,14 @@ WVList 1175 WVList 0 -225 +241 1 1 0 1176 MItem -21 -CLIB\STRING\fstrstr.c +22 +CLIB\STRING\fstrnicm.c 1177 WString 4 @@ -5259,14 +5259,14 @@ WVList 1179 WVList 0 -225 +241 1 1 0 1180 MItem -21 -CLIB\STRING\fstrtok.c +22 +CLIB\STRING\fstrnset.c 1181 WString 4 @@ -5277,14 +5277,14 @@ WVList 1183 WVList 0 -225 +241 1 1 0 1184 MItem -21 -CLIB\STRING\fstrupr.c +22 +CLIB\STRING\fstrpbrk.c 1185 WString 4 @@ -5295,14 +5295,14 @@ WVList 1187 WVList 0 -225 +241 1 1 0 1188 MItem -20 -CLIB\STRING\selptr.c +22 +CLIB\STRING\fstrrchr.c 1189 WString 4 @@ -5313,14 +5313,14 @@ WVList 1191 WVList 0 -225 +241 1 1 0 1192 MItem -20 -CLIB\STRING\sneptr.c +21 +CLIB\STRING\fstrrev.c 1193 WString 4 @@ -5331,14 +5331,14 @@ WVList 1195 WVList 0 -225 +241 1 1 0 1196 MItem -22 -CLIB\STRING\snprintf.c +21 +CLIB\STRING\fstrset.c 1197 WString 4 @@ -5349,14 +5349,14 @@ WVList 1199 WVList 0 -225 +241 1 1 0 1200 MItem -22 -CLIB\STRING\snprtf_s.c +21 +CLIB\STRING\fstrspn.c 1201 WString 4 @@ -5367,14 +5367,14 @@ WVList 1203 WVList 0 -225 +241 1 1 0 1204 MItem -21 -CLIB\STRING\sprintf.c +22 +CLIB\STRING\fstrspnp.c 1205 WString 4 @@ -5385,14 +5385,14 @@ WVList 1207 WVList 0 -225 +241 1 1 0 1208 MItem -22 -CLIB\STRING\sprntf_s.c +21 +CLIB\STRING\fstrstr.c 1209 WString 4 @@ -5403,14 +5403,14 @@ WVList 1211 WVList 0 -225 +241 1 1 0 1212 MItem -20 -CLIB\STRING\sscanf.c +21 +CLIB\STRING\fstrtok.c 1213 WString 4 @@ -5421,14 +5421,14 @@ WVList 1215 WVList 0 -225 +241 1 1 0 1216 MItem -22 -CLIB\STRING\sscanf_s.c +21 +CLIB\STRING\fstrupr.c 1217 WString 4 @@ -5439,14 +5439,14 @@ WVList 1219 WVList 0 -225 +241 1 1 0 1220 MItem -22 -CLIB\STRING\stncat_s.c +20 +CLIB\STRING\selptr.c 1221 WString 4 @@ -5457,14 +5457,14 @@ WVList 1223 WVList 0 -225 +241 1 1 0 1224 MItem -22 -CLIB\STRING\stncpy_s.c +20 +CLIB\STRING\sneptr.c 1225 WString 4 @@ -5475,14 +5475,14 @@ WVList 1227 WVList 0 -225 +241 1 1 0 1228 MItem -20 -CLIB\STRING\strcat.c +22 +CLIB\STRING\snprintf.c 1229 WString 4 @@ -5493,14 +5493,14 @@ WVList 1231 WVList 0 -225 +241 1 1 0 1232 MItem 22 -CLIB\STRING\strcat_s.c +CLIB\STRING\snprtf_s.c 1233 WString 4 @@ -5511,14 +5511,14 @@ WVList 1235 WVList 0 -225 +241 1 1 0 1236 MItem -20 -CLIB\STRING\strchr.c +21 +CLIB\STRING\sprintf.c 1237 WString 4 @@ -5529,14 +5529,14 @@ WVList 1239 WVList 0 -225 +241 1 1 0 1240 MItem -21 -CLIB\STRING\strcoll.c +22 +CLIB\STRING\sprntf_s.c 1241 WString 4 @@ -5547,14 +5547,14 @@ WVList 1243 WVList 0 -225 +241 1 1 0 1244 MItem 20 -CLIB\STRING\strcpy.c +CLIB\STRING\sscanf.c 1245 WString 4 @@ -5565,14 +5565,14 @@ WVList 1247 WVList 0 -225 +241 1 1 0 1248 MItem 22 -CLIB\STRING\strcpy_s.c +CLIB\STRING\sscanf_s.c 1249 WString 4 @@ -5583,14 +5583,14 @@ WVList 1251 WVList 0 -225 +241 1 1 0 1252 MItem -21 -CLIB\STRING\strcspn.c +22 +CLIB\STRING\stncat_s.c 1253 WString 4 @@ -5601,14 +5601,14 @@ WVList 1255 WVList 0 -225 +241 1 1 0 1256 MItem -20 -CLIB\STRING\strdup.c +22 +CLIB\STRING\stncpy_s.c 1257 WString 4 @@ -5619,14 +5619,14 @@ WVList 1259 WVList 0 -225 +241 1 1 0 1260 MItem -22 -CLIB\STRING\streln_s.c +20 +CLIB\STRING\strcat.c 1261 WString 4 @@ -5637,14 +5637,14 @@ WVList 1263 WVList 0 -225 +241 1 1 0 1264 MItem 22 -CLIB\STRING\strerr_s.c +CLIB\STRING\strcat_s.c 1265 WString 4 @@ -5655,14 +5655,14 @@ WVList 1267 WVList 0 -225 +241 1 1 0 1268 MItem -22 -CLIB\STRING\strerror.c +20 +CLIB\STRING\strchr.c 1269 WString 4 @@ -5673,14 +5673,14 @@ WVList 1271 WVList 0 -225 +241 1 1 0 1272 MItem 21 -CLIB\STRING\stricmp.c +CLIB\STRING\strcoll.c 1273 WString 4 @@ -5691,14 +5691,14 @@ WVList 1275 WVList 0 -225 +241 1 1 0 1276 MItem -21 -CLIB\STRING\strlcat.c +20 +CLIB\STRING\strcpy.c 1277 WString 4 @@ -5709,14 +5709,14 @@ WVList 1279 WVList 0 -225 +241 1 1 0 1280 MItem -21 -CLIB\STRING\strlcpy.c +22 +CLIB\STRING\strcpy_s.c 1281 WString 4 @@ -5727,14 +5727,14 @@ WVList 1283 WVList 0 -225 +241 1 1 0 1284 MItem -20 -CLIB\STRING\strlen.c +21 +CLIB\STRING\strcspn.c 1285 WString 4 @@ -5745,14 +5745,14 @@ WVList 1287 WVList 0 -225 +241 1 1 0 1288 MItem 20 -CLIB\STRING\strlwr.c +CLIB\STRING\strdup.c 1289 WString 4 @@ -5763,14 +5763,14 @@ WVList 1291 WVList 0 -225 +241 1 1 0 1292 MItem -21 -CLIB\STRING\strncat.c +22 +CLIB\STRING\streln_s.c 1293 WString 4 @@ -5781,14 +5781,14 @@ WVList 1295 WVList 0 -225 +241 1 1 0 1296 MItem -21 -CLIB\STRING\strncmp.c +22 +CLIB\STRING\strerr_s.c 1297 WString 4 @@ -5799,14 +5799,14 @@ WVList 1299 WVList 0 -225 +241 1 1 0 1300 MItem -21 -CLIB\STRING\strncpy.c +22 +CLIB\STRING\strerror.c 1301 WString 4 @@ -5817,14 +5817,14 @@ WVList 1303 WVList 0 -225 +241 1 1 0 1304 MItem -22 -CLIB\STRING\strnicmp.c +21 +CLIB\STRING\stricmp.c 1305 WString 4 @@ -5835,14 +5835,14 @@ WVList 1307 WVList 0 -225 +241 1 1 0 1308 MItem -22 -CLIB\STRING\strnln_s.c +21 +CLIB\STRING\strlcat.c 1309 WString 4 @@ -5853,14 +5853,14 @@ WVList 1311 WVList 0 -225 +241 1 1 0 1312 MItem 21 -CLIB\STRING\strnset.c +CLIB\STRING\strlcpy.c 1313 WString 4 @@ -5871,14 +5871,14 @@ WVList 1315 WVList 0 -225 +241 1 1 0 1316 MItem -21 -CLIB\STRING\strpbrk.c +20 +CLIB\STRING\strlen.c 1317 WString 4 @@ -5889,14 +5889,14 @@ WVList 1319 WVList 0 -225 +241 1 1 0 1320 MItem -21 -CLIB\STRING\strrchr.c +20 +CLIB\STRING\strlwr.c 1321 WString 4 @@ -5907,14 +5907,14 @@ WVList 1323 WVList 0 -225 +241 1 1 0 1324 MItem -20 -CLIB\STRING\strrev.c +21 +CLIB\STRING\strncat.c 1325 WString 4 @@ -5925,14 +5925,14 @@ WVList 1327 WVList 0 -225 +241 1 1 0 1328 MItem -20 -CLIB\STRING\strset.c +21 +CLIB\STRING\strncmp.c 1329 WString 4 @@ -5943,14 +5943,14 @@ WVList 1331 WVList 0 -225 +241 1 1 0 1332 MItem -20 -CLIB\STRING\strspn.c +21 +CLIB\STRING\strncpy.c 1333 WString 4 @@ -5961,14 +5961,14 @@ WVList 1335 WVList 0 -225 +241 1 1 0 1336 MItem -21 -CLIB\STRING\strspnp.c +22 +CLIB\STRING\strnicmp.c 1337 WString 4 @@ -5979,14 +5979,14 @@ WVList 1339 WVList 0 -225 +241 1 1 0 1340 MItem -20 -CLIB\STRING\strstr.c +22 +CLIB\STRING\strnln_s.c 1341 WString 4 @@ -5997,14 +5997,14 @@ WVList 1343 WVList 0 -225 +241 1 1 0 1344 MItem -20 -CLIB\STRING\strtok.c +21 +CLIB\STRING\strnset.c 1345 WString 4 @@ -6015,14 +6015,14 @@ WVList 1347 WVList 0 -225 +241 1 1 0 1348 MItem -22 -CLIB\STRING\strtok_s.c +21 +CLIB\STRING\strpbrk.c 1349 WString 4 @@ -6033,14 +6033,14 @@ WVList 1351 WVList 0 -225 +241 1 1 0 1352 MItem -20 -CLIB\STRING\strupr.c +21 +CLIB\STRING\strrchr.c 1353 WString 4 @@ -6051,14 +6051,14 @@ WVList 1355 WVList 0 -225 +241 1 1 0 1356 MItem -21 -CLIB\STRING\strxfrm.c +20 +CLIB\STRING\strrev.c 1357 WString 4 @@ -6069,14 +6069,14 @@ WVList 1359 WVList 0 -225 +241 1 1 0 1360 MItem -22 -CLIB\STRING\vsprintf.c +20 +CLIB\STRING\strset.c 1361 WString 4 @@ -6087,14 +6087,14 @@ WVList 1363 WVList 0 -225 +241 1 1 0 1364 MItem -18 -CLIB\TIME\gmtime.c +20 +CLIB\STRING\strspn.c 1365 WString 4 @@ -6105,14 +6105,14 @@ WVList 1367 WVList 0 -225 +241 1 1 0 1368 MItem -20 -CLIB\TIME\leapyear.c +21 +CLIB\STRING\strspnp.c 1369 WString 4 @@ -6123,14 +6123,14 @@ WVList 1371 WVList 0 -225 +241 1 1 0 1372 MItem 20 -CLIB\TIME\localtim.c +CLIB\STRING\strstr.c 1373 WString 4 @@ -6141,14 +6141,14 @@ WVList 1375 WVList 0 -225 +241 1 1 0 1376 MItem 20 -CLIB\TIME\locmktim.c +CLIB\STRING\strtok.c 1377 WString 4 @@ -6159,14 +6159,14 @@ WVList 1379 WVList 0 -225 +241 1 1 0 1380 MItem -18 -CLIB\TIME\mktime.c +22 +CLIB\STRING\strtok_s.c 1381 WString 4 @@ -6177,14 +6177,14 @@ WVList 1383 WVList 0 -225 +241 1 1 0 1384 MItem -16 -CLIB\TIME\time.c +20 +CLIB\STRING\strupr.c 1385 WString 4 @@ -6195,14 +6195,14 @@ WVList 1387 WVList 0 -225 +241 1 1 0 1388 MItem -20 -CLIB\TIME\timeutil.c +21 +CLIB\STRING\strxfrm.c 1389 WString 4 @@ -6213,14 +6213,14 @@ WVList 1391 WVList 0 -225 +241 1 1 0 1392 MItem -17 -CLIB\TIME\tzset.c +22 +CLIB\STRING\vsprintf.c 1393 WString 4 @@ -6231,115 +6231,277 @@ WVList 1395 WVList 0 -225 +241 1 1 0 1396 MItem -3 -*.h +18 +CLIB\TIME\gmtime.c 1397 WString -3 -NIL +4 +COBJ 1398 WVList 0 1399 WVList 0 --1 +241 +1 1 -0 0 1400 MItem 20 -CLIB\MATH\randnext.h +CLIB\TIME\leapyear.c 1401 WString -3 -NIL +4 +COBJ 1402 WVList 0 1403 WVList 0 -1396 +241 1 1 0 1404 MItem 20 -CLIB\STRING\errstr.h +CLIB\TIME\localtim.c 1405 WString -3 -NIL +4 +COBJ 1406 WVList 0 1407 WVList 0 -1396 +241 1 1 0 1408 MItem -22 -CLIB\STRING\nextftok.h +20 +CLIB\TIME\locmktim.c 1409 WString -3 -NIL +4 +COBJ 1410 WVList 0 1411 WVList 0 -1396 +241 1 1 0 1412 MItem -21 -CLIB\STRING\nexttok.h +18 +CLIB\TIME\mktime.c 1413 WString -3 -NIL +4 +COBJ 1414 WVList 0 1415 WVList 0 -1396 +241 1 1 0 1416 MItem -21 -CLIB\STRING\setbits.h +16 +CLIB\TIME\time.c 1417 WString -3 -NIL +4 +COBJ 1418 WVList 0 1419 WVList 0 -1396 +241 +1 +1 +0 +1420 +MItem +20 +CLIB\TIME\timeutil.c +1421 +WString +4 +COBJ +1422 +WVList +0 +1423 +WVList +0 +241 +1 +1 +0 +1424 +MItem +17 +CLIB\TIME\tzset.c +1425 +WString +4 +COBJ +1426 +WVList +0 +1427 +WVList +0 +241 +1 +1 +0 +1428 +MItem +3 +*.h +1429 +WString +3 +NIL +1430 +WVList +0 +1431 +WVList +0 +-1 +1 +1 +0 +1432 +MItem +16 +CLIB\H\kolibri.h +1433 +WString +3 +NIL +1434 +WVList +0 +1435 +WVList +0 +1428 +1 +1 +0 +1436 +MItem +20 +CLIB\MATH\randnext.h +1437 +WString +3 +NIL +1438 +WVList +0 +1439 +WVList +0 +1428 +1 +1 +0 +1440 +MItem +20 +CLIB\STRING\errstr.h +1441 +WString +3 +NIL +1442 +WVList +0 +1443 +WVList +0 +1428 +1 +1 +0 +1444 +MItem +22 +CLIB\STRING\nextftok.h +1445 +WString +3 +NIL +1446 +WVList +0 +1447 +WVList +0 +1428 +1 +1 +0 +1448 +MItem +21 +CLIB\STRING\nexttok.h +1449 +WString +3 +NIL +1450 +WVList +0 +1451 +WVList +0 +1428 +1 +1 +0 +1452 +MItem +21 +CLIB\STRING\setbits.h +1453 +WString +3 +NIL +1454 +WVList +0 +1455 +WVList +0 +1428 1 1 0