f-stack/adapter/syscall/ff_hook_syscall.h

13 lines
364 B
C
Raw Normal View History

2023-04-06 07:02:39 +00:00
#ifndef _FF_HOOK_SYSCALL_H
#define _FF_HOOK_SYSCALL_H
#undef FF_SYSCALL_DECL
#define FF_SYSCALL_DECL(ret, fn, args) extern ret ff_hook_##fn args
#include <ff_declare_syscalls.h>
extern int kqueue(void);
extern int kevent(int kq, const struct kevent *changelist, int nchanges,
2023-04-23 02:51:56 +00:00
struct kevent *eventlist, int nevents, const struct timespec *timeout);
2023-04-06 07:02:39 +00:00
#endif