5 ms·
With "socket library" you mean libc?
by blueflow 2y ago
With "socket library" you mean libc?
- signa11 2y agoyes, there is [typically] nothing else. you can ofcourse do a syscall directly, but i am not sure what value add _that_ is, `man -S 2 syscall` for more information. edit: 'typically' because some languages / runtimes might go the syscall route.
- blueflow 2y agoThats why i ask. "the socket library" is an very odd way to refer to the libc.
- _flux 2y agoSome other Unix operating systems had the functions in a own socket library, e.g. SunOS: https://docs.oracle.com/cd/E19120-01/open.solaris/817-4415/sockets-85885/index.html https://docs.oracle.com/cd/E19120-01/open.solaris/817-4415/s... . I suppose though in the context of Linux it's a bit weird, but you did get the correct meaning :).
- DEADMINCE 2y agoNot in context.
- justincormack 2y agoWell, Go for example does syscalls directly.