20void errmsg(
char *caller,
char *called,
int errornum,
char *file,
int line)
22 MSG_ERR(
"%s:%d: %s: %s\n", file, line, caller, called);
32ssize_t
ckd_write(
int fd,
char *msg,
char *file,
int line)
37 ret = write(fd, msg, strlen(msg));
38 }
while (ret == -1 && errno == EINTR);
int dClose(int fd)
Close a FD handling EINTR.
ssize_t ckd_close(int fd, char *file, int line)
ssize_t ckd_write(int fd, char *msg, char *file, int line)
void errmsg(char *caller, char *called, int errornum, char *file, int line)