home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 March
/
VPR9703A.ISO
/
VPR_DATA
/
DOGA
/
SOURCES
/
POLYEDIT.LZH
/
LIB
/
SLIBINIT.C
< prev
next >
Wrap
C/C++ Source or Header
|
1996-01-05
|
692b
|
36 lines
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <io.h>
#include <sys\stat.h>
#include <assert.h>
#include "lib.h"
/* _slibinit.c */
extern void _LibraryInit( void );
#if defined( _OWLPCH )
#include "message.h"
static void *funcary[] = {
wprintf, exit, getenv, malloc, free,
fopen, fclose, fprintf, fgetc, sprintf, access, stat, fread, fwrite, fgets
};
#else
static void *funcary[] = {
printf, exit, getenv, malloc, free,
fopen, fclose, fprintf, fgetc, sprintf, access, stat, fread, fwrite, fgets
};
#endif
/*Library **LibAry ;*/
int (**SystemFunc)() = (int(**)())funcary ;
int LibraryInit()
{
_LibraryInit();
return 0 ;
}