5 ms·
This is the kind of stuff you want running in a service out side of a micro kernel, but as we are stuck with systemd/gnu/linux systems, this is what we have...
by commentnull 11y ago
This is the kind of stuff you want running in a service out side of a micro kernel, but as we are stuck with systemd/gnu/linux systems, this is what we have...
- agumonkey 11y agoI could further into the rant, I'm ...stunned by parsing logic crippled as type specific functions. Why does `strscpy_truncate(dst,src,count)` exist at all ? it seem like a generic buffer/array `take(dst,src,count)`. And how problematic would be to use a compiled regex to parse "major:minor", or proper logic by seeking for ':' and read before after that point.
- to3m 11y agoThe strcpy-type functions stop after they read a '\x0'. They are not like memcpy!