src/solaris/native/java/net/net_util_md.h
Print this page
*** 34,44 ****
#ifndef USE_SELECT
#include <sys/poll.h>
#endif
! int NET_Timeout(int s, long timeout);
int NET_Read(int s, void* buf, size_t len);
int NET_RecvFrom(int s, void *buf, int len, unsigned int flags,
struct sockaddr *from, socklen_t *fromlen);
int NET_ReadV(int s, const struct iovec * vector, int count);
int NET_Send(int s, void *msg, int len, unsigned int flags);
--- 34,44 ----
#ifndef USE_SELECT
#include <sys/poll.h>
#endif
! int NET_Timeout(JNIEnv *env, int s, long timeout);
int NET_Read(int s, void* buf, size_t len);
int NET_RecvFrom(int s, void *buf, int len, unsigned int flags,
struct sockaddr *from, socklen_t *fromlen);
int NET_ReadV(int s, const struct iovec * vector, int count);
int NET_Send(int s, void *msg, int len, unsigned int flags);