mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
sysconf: move in from cpp-cheat
arm baremetal: give more TTBR rationale
This commit is contained in:
19
README.adoc
19
README.adoc
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user