* archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standard
[oweals/busybox.git] / coreutils / usleep.c
index da6cca9ab732dcb165be2616888bf538d8cbf5a9..ac268b485d7f27096a8d3520e970a10d1b1dd014 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Mini usleep implementation for busybox
  *
- *
  * Copyright (C) 1995, 1996 by Bruce Perens <bruce@pixar.com>.
  *
  * This program is free software; you can redistribute it and/or modify
  *
  */
 
-#include "internal.h"
+/* getopt not needed */
+
 #include <stdlib.h>
 #include <unistd.h>
-
-const char usleep_usage[] = "usleep N\n" 
-#ifndef BB_FEATURE_TRIVIAL_HELP
-       "\nPause for N microseconds.\n"
-#endif
-       ;
+#include "busybox.h"
 
 extern int usleep_main(int argc, char **argv)
 {
        if ((argc < 2) || (**(argv + 1) == '-')) {
-               usage(usleep_usage);
+               show_usage();
        }
 
        usleep(atoi(*(++argv)));        /* return void */
-       return(TRUE);
+       return EXIT_SUCCESS;
 }