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