#include <kernel.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
command | xsh_sleep (ushort stdin, ushort stdout, ushort stderr, ushort nargs, char *args[]) |
Definition in file xsh_sleep.c.
Shell command (sleep DELAY) delay for a given number of seconds.
stdin | descriptor of input device | |
stdout | descriptor of output device | |
stderr | descriptor of error device | |
args | array of arguments |
Definition at line 22 of file xsh_sleep.c.
References atol(), fprintf(), OK, sleep(), strncmp(), and SYSERR.