Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Errno and libc (dxuuu.xyz)
3 points by ben_s on Jan 31, 2024 | hide | past | favorite | 2 comments


Any reason to use

    ret = syscall(__NR_bpf, cmd, attr, size);
instead of

    ret = bpf(cmd, attr, size);
?


You can just look at any libc sources...




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: