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.
8 lines
84 B
C
8 lines
84 B
C
#include <unistd.h>
|
|
#include "syscall.h"
|
|
|
|
void sync(void)
|
|
{
|
|
__syscall(SYS_sync);
|
|
}
|