Files
semi-libc/src/unistd/sync.c
T
Rich Felker eb0e8fa0b1 debloat: use __syscall instead of syscall where possible
don't waste time (and significant code size due to function call
overhead!) setting errno when the result of a syscall does not matter
or when it can't fail.
2011-04-17 16:32:15 -04:00

8 lines
84 B
C

#include <unistd.h>
#include "syscall.h"
void sync(void)
{
__syscall(SYS_sync);
}