
jdk.internal.sys.posix.Poll Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qbicc-rt-java.base Show documentation
Show all versions of qbicc-rt-java.base Show documentation
The Qbicc builder for the java.base JDK module
package jdk.internal.sys.posix;
import static org.qbicc.runtime.CNative.*;
import static org.qbicc.runtime.stdc.Signal.*;
import static org.qbicc.runtime.stdc.Time.*;
/**
*
*/
@include("")
public final class Poll {
public static native c_int poll(ptr fds, nfds_t nfds, c_int timeout);
@define("_GNU_SOURCE")
public static native c_int ppoll(ptr fds, nfds_t nfds, ptr<@c_const struct_timespec> tmo_p,
ptr<@c_const sigset_t> sigMask);
public static final class nfds_t extends word {
}
public static final class struct_pollfd extends object {
public c_int fd;
public c_short events;
public c_short revents;
}
public static final c_short POLLIN = constant();
public static final c_short POLLPRI = constant();
public static final c_short POLLOUT = constant();
public static final c_short POLLRDHUP = constant();
public static final c_short POLLERR = constant();
public static final c_short POLLHUP = constant();
public static final c_short POLLNVAL = constant();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy