W dniu 29.02.2016, pon o godzinie 16∶30 -0500, użytkownik Rich Felker napisał: > There are a lot of Linux specific syscalls without libc wrappers. > > Is this one special enough? > I wouldn't say there are a lot; do you have a list? $ grep -roh 'syscall(SYS_[a-z]*' src/kits/kernel/ | sort -u syscall(SYS_exit syscall(SYS_futex syscall(SYS_gettid syscall(SYS_tgkill And this is just from a fairly small library of mine. > The topic of what should and should not be given libc wrappers has > been under discussion on the glibc list for a while now. [...] > You should not need to use syscall() to access any Linux > functionality that's meant to be exposed to applications; [...] Really depends on how you define "applications". Basically why I asked the question - if the above should also be wrapped, I am all for it. But if not, why some syscalls are special? -- smoku @ http://abadcafe.pl/ @ http://xiaoka.com/