Example #1
0
gssize system_read(gint fd, gpointer buf, gint n) {
	return system_recvFrom(fd, buf, n, 0, NULL, 0);
}
Example #2
0
ssize_t intercept_recvfrom(gint fd, gpointer buf, size_t n, gint flags,
		struct sockaddr* addr, socklen_t* addr_len) {
	return system_recvFrom(fd, buf, n, flags, addr, addr_len);
}
Example #3
0
gssize system_recv(gint fd, gpointer buf, gsize n, gint flags) {
	return system_recvFrom(fd, buf, n, flags, NULL, 0);
}