mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-18 02:16:17 +08:00
Use kqueue() and kevent() from FreeBSD
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <sys/time.h>
|
||||
#include <rtems.h>
|
||||
#include <rtems/error.h>
|
||||
|
||||
__weak_reference(_kevent, kevent);
|
||||
|
||||
int
|
||||
_kevent(int kq, const struct kevent *changelist, int nchanges,
|
||||
struct kevent *eventlist, int nevents, const struct timespec *timeout)
|
||||
{
|
||||
rtems_panic("Unimplemented method!!!\n");
|
||||
return -1;
|
||||
}
|
@@ -1,14 +0,0 @@
|
||||
#include <rtems/bsd/sys/types.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <rtems.h>
|
||||
#include <rtems/error.h>
|
||||
|
||||
__weak_reference(_kqueue, kqueue);
|
||||
|
||||
int
|
||||
_kqueue(void)
|
||||
{
|
||||
rtems_panic("Unimplemented method!!!\n");
|
||||
return -1;
|
||||
}
|
Reference in New Issue
Block a user