apio
140910763e
All checks were successful
Build and test / build (push) Successful in 1m56s
Why are command-line utilities stored in "apps"? And why are apps like "editor" or "terminal" top-level directories? Command-line utilities now go in "utils". GUI stuff now goes in "gui". This includes: libui -> gui/libui, wind -> gui/wind, GUI apps -> gui/apps, editor&terminal -> gui/apps... System services go in "system".
10 lines
122 B
C++
10 lines
122 B
C++
#include <stdio.h>
|
|
|
|
extern char** environ;
|
|
|
|
int main()
|
|
{
|
|
char** env = environ;
|
|
while (*env) { puts(*(env++)); }
|
|
}
|