mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-07 14:21:56 +00:00
15 lines
303 B
C
15 lines
303 B
C
#include <stdio.h>
|
|
|
|
static void * ptr = NULL;
|
|
|
|
int main(int argc, const char ** argv, const char ** envp)
|
|
{
|
|
printf("User program started\n");
|
|
printf("Local Address in Executable: %p\n", &ptr);
|
|
|
|
for (int i = 0 ; i < argc ; i++)
|
|
printf("argv[%d] = %s\n", i, argv[i]);
|
|
|
|
return 0;
|
|
}
|