#include "defs.h"
#include <fcntl.h>
-#include <limits.h>
#if HAVE_SYS_UIO_H
# include <sys/uio.h>
#endif
void
tprint_iov(struct tcb *tcp, unsigned long len, unsigned long addr, int decode_iov)
{
- tprint_iov_upto(tcp, len, addr, decode_iov, ULONG_MAX);
+ tprint_iov_upto(tcp, len, addr, decode_iov, (unsigned long) -1L);
}
int
*/
#include "defs.h"
-#include <limits.h>
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/un.h>
return;
}
tprints("{");
- do_msghdr(tcp, &mmsg.msg_hdr, ULONG_MAX);
+ do_msghdr(tcp, &mmsg.msg_hdr, (unsigned long) -1L);
tprintf(", %u}", mmsg.msg_len);
}
{
if (entering(tcp)) {
tprintf("%ld, ", tcp->u_arg[0]);
- printmsghdr(tcp, tcp->u_arg[1], ULONG_MAX);
+ printmsghdr(tcp, tcp->u_arg[1], (unsigned long) -1L);
/* flags */
tprints(", ");
printflags(msg_flags, tcp->u_arg[2], "MSG_???");