Re:Axle OS
by nerdponx on Saturday May 20, 2023 @02:27PM
(#36014360)
How do you access the contents of /proc programmatically?
[ Parent
| on HN ]
read/select loop? Or am I too outdated?
cat, fopen, fread, fwrite, etc.
Right, so it's an API, but it's only usable through the file system, and it's a pretty bad API. You still need to parse the crappy ad hoc format instead of getting a struct from the kernel.
Re:Axle OS
by grepfru_it on Sunday May 21, 2023 @02:31PM
(#36023560)
Yep. So the trade off is then app compatibility or a radical new interface