02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

C<br />

<strong>Tornado</strong> Tools Reference<br />

DESCRIPTION<br />

RETURNS<br />

SEE ALSO<br />

Shut down the executing session of WindSh.<br />

There is no target-resident version of quit( ).<br />

N/A<br />

windsh, <strong>Tornado</strong> User’s Guide: Shell<br />

C<br />

reboot( )<br />

NAME<br />

reboot() – reset network devices and transfer control to boot ROMs<br />

SYNOPSIS<br />

DESCRIPTION<br />

RETURNS<br />

SEE ALSO<br />

void reboot (void)<br />

This WindSh primitive sends a restart message to the target server, which in turn passes it<br />

on to the target agent. This causes the target to reboot, and the target server to reattach.<br />

After waiting one second, WindSh also restarts.<br />

N/A<br />

windsh, <strong>Tornado</strong> User’s Guide: Shell<br />

repeat( )<br />

NAME<br />

repeat( ) – spawn a task to call a function repeatedly<br />

SYNOPSIS<br />

int repeat<br />

(<br />

int n, /* no. of times to call func (0=forever) */<br />

FUNCPTR func, /* function to call repeatedly */<br />

int arg1, /* first of eight args to pass to func */<br />

int arg2,<br />

int arg3,<br />

int arg4,<br />

int arg5,<br />

int arg6,<br />

int arg7,<br />

int arg8<br />

)<br />

407

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!