Spreadsheet: Document runtime functions and add a help window

...that can automatically generate documentation pages from the objects.
This commit is contained in:
AnotherTest 2020-08-24 20:05:20 +04:30 committed by Andreas Kling
commit 3a07f6e345
Notes: sideshowbarker 2024-07-19 03:12:59 +09:00
8 changed files with 352 additions and 2 deletions

View file

@ -43,6 +43,16 @@ int main(int argc, char* argv[])
return 1;
}
if (unveil("/tmp/portal/webcontent", "rw") < 0) {
perror("unveil");
return 1;
}
if (unveil("/etc", "r") < 0) {
perror("unveil");
return 1;
}
if (unveil("/res", "r") < 0) {
perror("unveil");
return 1;