environ: link to from readme

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-06-08 01:00:00 +00:00
parent 8a4fc8e9ae
commit eb22fd3b6e
2 changed files with 5 additions and 1 deletions

View File

@@ -17822,6 +17822,10 @@ These links provide a clear overview of what POSIX is:
* https://stackoverflow.com/questions/1780599/what-is-the-meaning-of-posix/31865755#31865755 * https://stackoverflow.com/questions/1780599/what-is-the-meaning-of-posix/31865755#31865755
* https://unix.stackexchange.com/questions/11983/what-exactly-is-posix/220877#220877 * https://unix.stackexchange.com/questions/11983/what-exactly-is-posix/220877#220877
==== Environment variables
POSIX C example that prints all environment variables: link:userland/posix/environ.c[]
==== unistd.h ==== unistd.h
* link:userland/posix/count.c[] illustrates `sleep()` * link:userland/posix/count.c[] illustrates `sleep()`

View File

@@ -1,4 +1,4 @@
/* Print all environment variables. */ /* https://cirosantilli.com/linux-kernel-module-cheat#environment-variables */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>