12345678910111213141516171819202122232425262728 |
- #include <stdlib.h>
- #include <limits.h>
- #include <unistd.h>
- #include "busybox.h"
- int usleep_main(int argc, char **argv)
- {
- if (argc != 2) {
- bb_show_usage();
- }
- if (usleep(xatou(argv[1]))) {
- bb_perror_nomsg_and_die();
- }
- return EXIT_SUCCESS;
- }
|