/* depend: */
/* cflags: */
-/* linker: atoi.o code.o debug.o fprintf.o */
+/* linker: atoi.o code.o debug.o fdprintf.o */
#include <fcntl.h>
#include <unistd.h>
#include "atoi.h"
#include "code.h"
#include "debug.h"
-#include "fprintf.h"
+#include "fdprintf.h"
/* constants */
int usage (int ret)
{
- int fd = ret ? _fderr : _fdout;
+ int fd = ret ? stdfderr : stdfdout;
fdprintf (fd, "usage: %s\n", progname);
fdprintf (fd, " -h : help message\n");
fdprintf (fd, " -i <file>: input file\n");
PRINTERR ("%s: missing verbose level\n", progname);
return usage (1);
}
- verbose = myatoi (arg);
+ verbose = atoi (arg);
VERBOSE (INFO, PRINTOUT ("verbose: %d\n", verbose));
break;
case 'h':