]>
git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/crt-argv-NULL/main.c
5 int main(int argc
, const char* argv
[])
7 if ( argv
[0] != NULL
) {
8 // re-exec with empty argv[] array
9 char* const emptyArgv
[] = { NULL
};
10 execv(argv
[0], emptyArgv
);