add directory study

This commit is contained in:
gohigh
2024-02-19 00:25:23 -05:00
parent b1306b38b1
commit f3774e2f8c
4001 changed files with 2285787 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
/* printenv - print the current environment Author: Richard Todd */
main()
{
extern char **environ;
char **sptr;
for (sptr = environ; *sptr; ++sptr) {
prints("%s\n", *sptr);
}
}