Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/shell/xsh_sleep.c File Reference

#include <kernel.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

Include dependency graph for xsh_sleep.c:

Go to the source code of this file.


command xsh_sleep (ushort stdin, ushort stdout, ushort stderr, ushort nargs, char *args[])

Detailed Description


xsh_sleep.c 231 2007-07-12 14:15:16Z agember

Definition in file xsh_sleep.c.

Function Documentation

command xsh_sleep ( ushort  stdin,
ushort  stdout,
ushort  stderr,
ushort  nargs,
char *  args[] 

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
OK for success, SYSERR for syntax error

Definition at line 22 of file xsh_sleep.c.

References atol(), fprintf(), OK, sleep(), strncmp(), and SYSERR.

Generated on Thu Oct 9 22:34:56 2008 for xinu by  doxygen 1.5.5