REPORT_ERROR
REPORT_ERROR(B_BAD_VALUE);
REPORT_ERROR(B_BAD_VALUE);
REPORT_ERROR(B_BAD_VALUE);
#define RETURN_ERROR(err) { status_t _status = err; if (_status < B_OK) REPORT_ERROR(_status); return _status;}
REPORT_ERROR(status);
REPORT_ERROR(status);
REPORT_ERROR(freeStatus);
REPORT_ERROR(status);
REPORT_ERROR(status);
REPORT_ERROR(status);
{ status_t _status = err; if (_status < B_OK) REPORT_ERROR(_status); return _status;}
REPORT_ERROR(_status); \
REPORT_ERROR(externStatus);
REPORT_ERROR(fatStatus);
REPORT_ERROR(entryStatus);
REPORT_ERROR(status);
REPORT_ERROR(status);
REPORT_ERROR(status);
REPORT_ERROR(status);
REPORT_ERROR(status);
REPORT_ERROR(undoStatus);
REPORT_ERROR(status);
REPORT_ERROR(status);
REPORT_ERROR(status);
REPORT_ERROR(status);
REPORT_ERROR(status);
REPORT_ERROR(status);
REPORT_ERROR(status);
REPORT_ERROR(status);
REPORT_ERROR(status);
REPORT_ERROR(status);
REPORT_ERROR(status);
REPORT_ERROR(fatStatus);
REPORT_ERROR(B_FROM_POSIX_ERROR(status));
REPORT_ERROR(status);
REPORT_ERROR(error);
REPORT_ERROR(error);
REPORT_ERROR(error);
REPORT_ERROR(error);
REPORT_ERROR(_status); \
REPORT_ERROR(_status); \
REPORT_ERROR(error);
REPORT_ERROR(_status); \
REPORT_ERROR(_status); \
REPORT_ERROR(_status); \
REPORT_ERROR(_status); \
#define RETURN_ERROR(err) { status_t _status = err; if (_status < B_OK) REPORT_ERROR(_status); return _status;}
REPORT_ERROR("socket() failed: %s\n", strerror(errno));
REPORT_ERROR("bind() failed: %s\n", strerror(errno));
REPORT_ERROR("connect() succeeded unexpectedly\n");
REPORT_ERROR("connect() failed with unexpected error: %s\n", strerror(errno));
REPORT_ERROR("close() failed: %s\n", strerror(errno));
REPORT_ERROR("connect() succeeded unexpectedly\n");
REPORT_ERROR("connect() failed with unexpected error: %s\n", strerror(errno));
REPORT_ERROR("socket() failed: %s\n", strerror(errno));
REPORT_ERROR("bind() failed: %s\n", strerror(errno));
REPORT_ERROR("send() succeeded unexpectedly\n");
REPORT_ERROR("socket() failed: %s\n", strerror(errno));
REPORT_ERROR("bind() failed: %s\n", strerror(errno));
REPORT_ERROR("fcntl() failed: %s\n", strerror(errno));
REPORT_ERROR("fcntl() failed: %s\n", strerror(errno));
REPORT_ERROR("sendto() failed: %s\n", strerror(errno));
REPORT_ERROR("connect() failed: %s\n", strerror(errno));
REPORT_ERROR("connect() failed: %s\n", strerror(errno));
REPORT_ERROR("send() failed: %s\n", strerror(errno));
REPORT_ERROR("socket() failed: %s\n", strerror(errno));
REPORT_ERROR("bind() failed: %s\n", strerror(errno));
REPORT_ERROR("sendto() succeeded unexpectedly\n");
REPORT_ERROR("sendto() failed with unexpected error: %s\n", strerror(errno));
REPORT_ERROR("recv() failed: %s\n", strerror(errno));
REPORT_ERROR("recv() received unexpected data: %s\n", buf);
REPORT_ERROR("recv() failed: %s\n", strerror(errno));
REPORT_ERROR("recv() received unexpected data: %s\n", buf);
REPORT_ERROR("recv() received unexpected address: %s\n", addr3.sun_path);
REPORT_ERROR("send() failed: %s\n", strerror(errno));
REPORT_ERROR("send() failed: %s\n", strerror(errno));
REPORT_ERROR("recv() failed: %s\n", strerror(errno));
REPORT_ERROR("recv() received unexpected data: %s\n", buf);
REPORT_ERROR("recv() failed: %s\n", strerror(errno));
REPORT_ERROR("recv() received unexpected data: %s\n", buf);
REPORT_ERROR("send() succeeded unexpectedly\n");
REPORT_ERROR("send() failed with unexpected error: %s\n", strerror(errno));
REPORT_ERROR("socket() failed: %s\n", strerror(errno));
REPORT_ERROR("socket() failed: %s\n", strerror(errno));
REPORT_ERROR("bind() failed: %s\n", strerror(errno));
REPORT_ERROR("socket() failed: %s\n", strerror(errno));
REPORT_ERROR("sendto() failed: %s\n", strerror(errno));
REPORT_ERROR("recvfrom() failed: %s\n", strerror(errno));
REPORT_ERROR("socket() failed: %s\n", strerror(errno));
REPORT_ERROR("bind() failed: %s\n", strerror(errno));
REPORT_ERROR("bind() failed: %s\n", strerror(errno));
REPORT_ERROR("socket() failed: %s\n", strerror(errno));
REPORT_ERROR("bind() failed: %s\n", strerror(errno));
REPORT_ERROR("shutdown() failed: %s\n", strerror(errno));
REPORT_ERROR("send() succeeded unexpectedly\n");
REPORT_ERROR("send() failed with unexpected error: %s\n", strerror(errno));
REPORT_ERROR("send() failed: %s\n", strerror(errno));
REPORT_ERROR("shutdown() failed: %s\n", strerror(errno));
REPORT_ERROR("send() succeeded unexpectedly\n");
REPORT_ERROR("send() failed with unexpected error: %s\n", strerror(errno));
REPORT_ERROR("recv() failed: %s\n", strerror(errno));
REPORT_ERROR("recv() received unexpected data\n");
REPORT_ERROR("socket() failed: %s\n", strerror(errno));
REPORT_ERROR("socket() failed: %s\n", strerror(errno));
REPORT_ERROR("bind() failed: %s\n", strerror(errno));
REPORT_ERROR("socket() failed: %s\n", strerror(errno));
REPORT_ERROR("bind() failed: %s\n", strerror(errno));
REPORT_ERROR("connect() failed: %s\n", strerror(errno));
REPORT_ERROR("shm_open() failed: %s\n", strerror(errno));
REPORT_ERROR("bind() failed: %s\n", strerror(errno));
REPORT_ERROR("sendmsg() failed: %s\n", strerror(errno));
REPORT_ERROR("recvmsg() failed: %s\n", strerror(errno));
REPORT_ERROR("recvmsg() failed: no control message\n");
REPORT_ERROR("recvmsg() failed: unexpected level %d\n", cmsg->cmsg_level);
REPORT_ERROR("recvmsg() failed: unexpected type %d\n", cmsg->cmsg_type);
REPORT_ERROR("recvmsg() failed: unexpected length %ld\n", cmsg->cmsg_len);
REPORT_ERROR("recvmsg() failed: unexpected fd %d\n", fd1);
REPORT_ERROR("fstat() failed: %s\n", strerror(errno));
REPORT_ERROR("fstat() failed: %s\n", strerror(errno));
REPORT_ERROR("recvmsg() failed: unexpected device %ld\n", (long)statbuf1.st_dev);
REPORT_ERROR("recvmsg() failed: unexpected inode %ld\n", (long)statbuf1.st_ino);
REPORT_ERROR("fcntl() failed: %s\n", strerror(errno));
REPORT_ERROR("fcntl() failed: %s\n", strerror(errno));
REPORT_ERROR("fcntl() failed: %s\n", strerror(errno));
REPORT_ERROR("connect() failed: %s\n", strerror(errno));
REPORT_ERROR("connect() failed: %s\n", strerror(errno));
REPORT_ERROR("connect() failed: %s\n", strerror(errno));