Top "System-calls" questions

A system call is used by programs to request services from the operating system's kernel.

epoll_wait fails due to EINTR, how to remedy this?

My epoll_wait fails due to EINTR. My gdb trace shows this: enter code here 221 in ../nptl/sysdeps/pthread/createthread.…

c linux system-calls epoll interrupted-exception
system call return values and errno

I am using following system calls in my program: recvfrom sendto sendmsg And from each system call mentioned above I …

c linux operating-system system-calls systems-programming
Suppress console when calling "system" in C++

I'm using the system command in C++ to call some external program, and whenever I use it, a console window …

c++ console system system-calls
System calls overhead

I just started studying about system calls. I would like to know what causes overhead when a system call is …

process operating-system system-calls context-switch os161
sysinfo system call not returning correct freeram value

I recently wrote the following C code using sysinfo systemcall to display system statistics, what amused me was that the …

c linux operating-system system-calls sysinfo
write or printf, which is faster?

After doing the following test: for( i = 0; i < 3000000; i++ ) { printf( "Test string\n" ); } for( i = 0; i < 3000000; i++ ) { write( …

c performance unix io system-calls
Where can I obtain a list of UNIX system calls?

Where are some lists of system calls on UNIX? This wasn't my original question, but thanks anyway :)

unix freebsd system-calls
Difference between nice and setpriority in unix

I'm trying to implement a different flavor of the 'nice' command of unix in C. I have seen the definitions …

c linux unix system-calls nice
xv6 add a system call that counts system calls

EDIT: GOT IT here is what I did: in syscall.c: extern int numSysCalls; in sysproc.c: int numSysCalls = -1; …

c system-calls xv6
How to implement system call in ARM64?

I am working with arm64 assembly coding and I want to implement system calls using svc instruction . I can't find …

arm system-calls arm64