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.

45 lines
1.1 KiB

  1. /***
  2. *setargv.c - generic _setargv routine
  3. *
  4. * Copyright (c) 1989-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * Linking in this module replaces the normal setargv with the
  8. * wildcard setargv.
  9. *
  10. *Revision History:
  11. * 06-28-89 PHG Module created, based on asm version.
  12. * 04-09-90 GJF Added #include <cruntime.h>. Made calling type
  13. * _CALLTYPE1. Also, fixed the copyright.
  14. * 10-08-90 GJF New-style function declarator.
  15. * 04-06-93 SKS Replace _CRTAPI* with _cdecl
  16. * 03-27-01 PML _[w]setargv now returns an int (vs7#231220)
  17. *
  18. *******************************************************************************/
  19. #include <cruntime.h>
  20. #include <internal.h>
  21. /***
  22. *_setargv - sets argv by calling __setargv
  23. *
  24. *Purpose:
  25. * Routine directly transfers to __setargv (defined in stdargv.asm).
  26. *
  27. *Entry:
  28. * See __setargv.
  29. *
  30. *Exit:
  31. * See __setargv.
  32. *
  33. *Exceptions:
  34. * See __setargv.
  35. *
  36. *******************************************************************************/
  37. int __cdecl _setargv (
  38. void
  39. )
  40. {
  41. return __setargv();
  42. }