You can call a syscall with assembly, but the result it gives you follows C's formats. Maybe your language does integers in a different way so you still have to abide to it's standard to adapt what the OS gives you
I'm asking since I want to get into (hobbyist) OS development at some point and would love to know if there's a better way to do syscalls.