mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
10 lines
249 B
C
10 lines
249 B
C
#include "libc/runtime/runtime.h"
|
|
#include "libc/stdio/stdio.h"
|
|
|
|
int main(int argc, char* argv[]) {
|
|
fprintf(stderr, "%s (%s)\n", argv[0], GetProgramExecutableName());
|
|
for (char** p = environ; *p; ++p) {
|
|
printf("%s\n", *p);
|
|
}
|
|
return 0;
|
|
}
|