prt("%s%s%s\n", prefix, prefix ? ": " : "", strerror(errno));
}
+void
+prterrcode(char *prefix, int code)
+{
+ prt("%s%s%s\n", prefix, prefix ? ": " : "", strerror(-code));
+}
+
+void
+simple_err(const char *msg, int err)
+{
+ fprintf(stderr, "%s: %s\n", msg, strerror(-err));
+}
+
void
log4(int operation, int arg0, int arg1, int arg2)
{
logptr = 0;
}
-void
-simple_err(const char *msg, int err)
-{
- fprintf(stderr, "%s: %s\n", msg, strerror(-err));
-}
-
void
logdump(void)
{
}
}
-void
-prterrcode(char *prefix, int code)
-{
- prt("%s%s%s\n", prefix, prefix ? ": " : "", strerror(-code));
-}
-
void
save_buffer(char *buffer, off_t bufferlength, int fd)
{