Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.2 KiB

  1. /***
  2. *stubs.c - extdef stubs
  3. *
  4. * Copyright (c) 1989-2001, 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. *Revision History:
  12. * ??-??-?? SRW initial version
  13. * 09-29-91 JCR added _read (ANSI-compatible symbol)
  14. * 09-04-92 GJF replaced _CALLTYPE3 with WINAPI
  15. * 06-02-92 SRW added errno definition
  16. * 06-15-92 SRW __mb_cur_max supplied by ..\misc\nlsdata1.obj
  17. * 07-16-93 SRW ALPHA Merge
  18. * 11-04-93 SRW _getbuf and ungetc now work in _NTSUBSET_ version
  19. * 11-10-93 GJF Merged in NT changes. Made some cosmetic improvments.
  20. *
  21. *******************************************************************************/
  22. #include <cruntime.h>
  23. #include <oscalls.h>
  24. /*
  25. * referenced by crt (output)
  26. */
  27. int _fltused = 0x9875;
  28. int _ldused = 0x9873;
  29. int __fastflag = 0;
  30. int _iob;
  31. char _osfile[20];
  32. int errno;
  33. void __cdecl fflush( void ){}
  34. void __cdecl fprintf( void ){}
  35. void __cdecl abort( void ){}
  36. void __cdecl read( void ){}
  37. void __cdecl _read( void ){}
  38. void __cdecl _assert( void ) {}
  39. void __cdecl _amsg_exit( void ) {}