}
-#ifndef HAVE_STRERROR
-/*
- * replacement strerror() for systems that don't have it
- */
-char *strerror(int e)
-{
- static char buf[32];
-
- snprintf(buf,sizeof buf,"errno = %d",e);
- return(buf);
- }
-#endif
-
int fmout(int width, FILE * fp);
-#ifndef HAVE_STRERROR
-/*
- * replacement strerror() for systems that don't have it
- */
-char *strerror(int e)
-{
- static char buf[32];
-
- snprintf(buf, sizeof buf, "errno = %d", e);
- return (buf);
-}
-#endif
int main(int argc, char **argv)
{
}
-#ifndef HAVE_STRERROR
-/*
- * replacement strerror() for systems that don't have it
- */
-char *strerror(int e)
-{
- static char buf[128];
-
- snprintf(buf, sizeof buf, "errno = %d",e);
- return(buf);
-}
-#endif
-
-
void progress(CtdlIPC* ipc, unsigned long curr, unsigned long cmax)
{
static char dots[] =