/*1* Copyright (c) 2015 The FreeBSD Foundation.2*3* Portions of this software were developed by Konstantin Belousov4* under sponsorship from the FreeBSD Foundation.5*6* Redistribution and use in source and binary forms, with or without7* modification, are permitted provided that the following conditions8* are met:9* 1. Redistributions of source code must retain the above copyright10* notice(s), this list of conditions and the following disclaimer as11* the first lines of this file unmodified other than the possible12* addition of one or more copyright notices.13* 2. Redistributions in binary form must reproduce the above copyright14* notice(s), this list of conditions and the following disclaimer in15* the documentation and/or other materials provided with the16* distribution.17*18* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY19* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE20* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR21* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE22* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR23* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF24* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR25* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,26* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE27* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,28* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.29*/3031#include <sys/types.h>32#include <sys/event.h>33#include <sys/time.h>34#include "libc_private.h"3536#pragma weak kevent37int38kevent(int kq, const struct kevent *changelist, int nchanges,39struct kevent *eventlist, int nevents, const struct timespec *timeout)40{41return (INTERPOS_SYS(kevent, kq, changelist, nchanges, eventlist,42nevents, timeout));43}444546