sysconf: move in from cpp-cheat

arm baremetal: give more TTBR rationale
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-07-18 00:00:00 +00:00
parent 3ea041e4d9
commit afb38d249b
4 changed files with 49 additions and 0 deletions

View File

@@ -11887,6 +11887,25 @@ What is POSIX:
* 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
==== sysconf
https://pubs.opengroup.org/onlinepubs/9699919799/functions/sysconf.html
Examples:
* link:userland/posix/sysconf.c[]
* link:userland/linux/sysconf.c[] showcases Linux extensions to POSIX
Get lots of info on the system configuration.
The constants can also be viewed accessed on my Ubuntu 18.04 host with:
....
getconf -a
....
`getconf` is also specified by POSIX at: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/getconf.html but not the `-a` option which shows all configurations.
== Userland assembly
Programs under `userland/arch/<arch>/` are examples of userland assembly programming.