diff options
author | Squibid <me@zacharyscheiman.com> | 2023-05-03 22:36:17 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-05-03 22:36:17 -0400 |
commit | 55f5a1d0ba00ad8e15fadc391e4aa3960c9afdb3 (patch) | |
tree | 1e4412fe19e1471026a580d427f44730768b3a50 /sleep.c | |
download | coreutils-55f5a1d0ba00ad8e15fadc391e4aa3960c9afdb3.tar.gz coreutils-55f5a1d0ba00ad8e15fadc391e4aa3960c9afdb3.tar.bz2 coreutils-55f5a1d0ba00ad8e15fadc391e4aa3960c9afdb3.zip |
inital commit most of the current utils don't work
Diffstat (limited to '')
-rw-r--r-- | sleep.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> + +int main(int argc, char *argv[]) +{ + if (argc > 0) + sleep(atoi(argv[1])); +} |