35 lines
867 B
JSON
35 lines
867 B
JSON
{
|
|
"name": "getconf",
|
|
"section": 1,
|
|
"title": "get configuration values",
|
|
"synopsis": [
|
|
"getconf [-a] system_var"
|
|
],
|
|
"description": "Prints a fixed subset of POSIX-style limit names and values for Bare OS. There is no host sysconf path; constants match the documented JavaScript/VFS environment.",
|
|
"options": [
|
|
{
|
|
"flag": "-a",
|
|
"meaning": "Write every known variable (each name on one line, value on the next)"
|
|
}
|
|
],
|
|
"keywords": [
|
|
"getconf",
|
|
"limits",
|
|
"PATH_MAX",
|
|
"POSIX",
|
|
"bare-os",
|
|
"coreutils"
|
|
],
|
|
"bareOsNotes": "Subset only; unknown names fail with exit status 1. See src/getconf.js for the name table.",
|
|
"examples": [
|
|
{
|
|
"caption": "path length limit",
|
|
"code": "getconf PATH_MAX"
|
|
},
|
|
{
|
|
"caption": "list known names and values",
|
|
"code": "getconf -a"
|
|
}
|
|
]
|
|
}
|