home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / crt / src / stubs.c < prev    next >
C/C++ Source or Header  |  1998-06-17  |  836b  |  34 lines

  1. /***
  2. *stubs.c - extdef stubs
  3. *
  4. *       Copyright (c) 1989-1997, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. *       This module resolves external references made by the libs
  8. *       in the "non-SYSCALL" version (i.e., the stripped down library
  9. *       that has only routines that don't make system calls).
  10. *
  11. *******************************************************************************/
  12.  
  13. #include <cruntime.h>
  14. #include <oscalls.h>
  15.  
  16. /*
  17.  * referenced by crt (output)
  18.  */
  19.  
  20. int _fltused = 0x9875;
  21. int _ldused = 0x9873;
  22. int __fastflag = 0;
  23. int _iob;
  24. char _osfile[20];
  25. int errno;
  26.  
  27. void __cdecl fflush( void ){}
  28. void __cdecl fprintf( void ){}
  29. void __cdecl abort( void ){}
  30. void __cdecl read( void ){}
  31. void __cdecl _read( void ){}
  32. void __cdecl _assert( void ) {}
  33. void __cdecl _amsg_exit( void ) {}
  34.