VSF Documented
syscall.h
Go to the documentation of this file.
1#ifndef __VSF_LINUX_SYSCALL_H__
2#define __VSF_LINUX_SYSCALL_H__
3
5#if VSF_LINUX_CFG_RELATIVE_PATH == ENABLED
6# include "../sys/random.h"
7# include "../sys/eventfd.h"
8# include "../sys/epoll.h"
9# include "../sys/stat.h"
10#else
11# include <sys/random.h>
12# include <sys/eventfd.h>
13# include <sys/epoll.h>
14# include <sys/stat.h>
15#endif
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21#define SYS_getrandom getrandom
22
23#define syscall(__func, ...) __func(__VA_ARGS__)
24
25#ifdef __cplusplus
26}
27#endif
28
29#endif