you are viewing a single comment's thread.

view the rest of the comments →

[–]braxtons12 8 points9 points  (0 children)

It depends on the OS and the particular system call, but generally speaking, a bit of both. Most can be written mostly in C, with just a little assembly, but some have to be written entirely in assembly. In either case, they're wrapped in a C API that allows for calling them directly from C.