diff options
Diffstat (limited to 'klibc/klibc/tests/environ.c')
-rw-r--r-- | klibc/klibc/tests/environ.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/klibc/klibc/tests/environ.c b/klibc/klibc/tests/environ.c deleted file mode 100644 index 6eeeb9197e..0000000000 --- a/klibc/klibc/tests/environ.c +++ /dev/null @@ -1,24 +0,0 @@ -#include <stdlib.h> -#include <stdio.h> -#include <unistd.h> - -int main(int argc, char *argv[], char *envp[]) -{ - int i; - - /* Verify envp == environ */ - printf("Verifying envp == environ... %s\n", - (envp == environ) ? "ok" : "ERROR"); - - /* Test argc/argv */ - printf("argc = %d, argv = %p\n", argc, argv); - for ( i = 0 ; i < argc ; i++ ) { - printf("argv[%2d] = %s\n", i, argv[i]); - } - - /* Test environ */ - for ( i = 0 ; envp[i] ; i++ ) - printf("%s\n", envp[i]); - - return 0; -} |