Re:Sp.h is the standard library that C deserves
by DeathArrow on Saturday May 23, 2026 @01:26AM
(#48244981)
What about BSDs?
Re:Sp.h is the standard library that C deserves
by dboon on Saturday May 23, 2026 @02:49AM
(#48245337)
I don't support non-macOS BSDs explicitly yet. Not for any reason of design, just hasn't been a priority.
Re:Sp.h is the standard library that C deserves
by whateverboat on Saturday May 23, 2026 @01:32AM
(#48245018)
syscalls
Re:Sp.h is the standard library that C deserves
by yjftsjthsd-h on Saturday May 23, 2026 @02:57AM
(#48245377)
That might work on FreeBSD but is pretty well guaranteed to break on OpenBSD. (Dunno about Net and Dragonfly) (I'd caution that treating the BSDs as a monolith is likely to end in errors; they're quite diverse.)
There is a footnote on this saying as much:
> 3. Where “syscall” means “the lowest level primitive available”. On Linux, it’s always actual syscalls. On Windows, that’s usually NT. On macOS, it’s usually the syscall-wrapper subset of libc because you’re forced to link libc and it’s not quite as open as Linux (although there is a rich “undocumented” set of APIs and syscalls that are very interesting).