aboutsummaryrefslogtreecommitdiff
path: root/test_mini/speudo_code
blob: ef776cecf20b03a542a807c17d0a36b89a3d6667 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15


is_space

#include <stdio.h>
int main(int argc, char **argv, char **envp)
{
    printf("ARGV:\n");
    for (int i = 0; i < argc; i++)
        printf("[%d] %s\n", i, argv[i]);
    printf("\nENV:\n");
    for (int i = 0; envp[i] != NULL && i < 10; i++)
        printf("[%d] %s\n", i, envp[i]);
    return 0;
}