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.

50 lines
847 B

  1. /*++
  2. Copyright (c) 1989 Microsoft Corporation
  3. Module Name:
  4. turtl1.c
  5. Abstract:
  6. Sub-Test program for the NT OS User Mode Runtime Library (URTL)
  7. Author:
  8. Steve Wood (stevewo) 18-Aug-1989
  9. Revision History:
  10. --*/
  11. #include <nt.h>
  12. #include <ntrtl.h>
  13. #include <nturtl.h>
  14. NTSTATUS
  15. main(
  16. int argc,
  17. char *argv[],
  18. char *envp[]
  19. )
  20. {
  21. ULONG i;
  22. DbgPrint( "Entering URTL1 User Mode Test Program\n" );
  23. DbgPrint( "argc = %ld\n", argc );
  24. for (i=0; i<=argc; i++) {
  25. DbgPrint( "argv[ %ld ]: %s\n",
  26. i,
  27. argv[ i ] ? argv[ i ] : "<NULL>"
  28. );
  29. }
  30. DbgPrint( "\n" );
  31. for (i=0; envp[i]; i++) {
  32. DbgPrint( "envp[ %ld ]: %s\n", i, envp[ i ] );
  33. }
  34. DbgPrint( "Leaving URTL1 User Mode Test Program\n" );
  35. return( STATUS_SUCCESS );
  36. }