02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C<br />

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

RETURNS<br />

SEE ALSO<br />

OK or ERROR.<br />

windsh, show( ), browse( ), <strong>Tornado</strong> User’s Guide: Shell<br />

C<br />

mRegs( )<br />

NAME<br />

SYNOPSIS<br />

DESCRIPTION<br />

RETURNS<br />

SEE ALSO<br />

mRegs() – modify registers<br />

STATUS mRegs<br />

(<br />

char * regName, /* register name, NULL for all */<br />

int taskNameOrId /* task name or task ID, 0 = default task */<br />

)<br />

This command modifies the specified register for the specified task. If taskNameOrId is<br />

omitted or zero, the last task referenced is assumed. If the specified register is not found, it<br />

prints out the valid register list and returns ERROR. If no register is specified, it<br />

sequentially prompts the user for new values for a task’s registers. It displays each register<br />

and the current contents of that register, in turn. The user can respond in one of several<br />

ways:<br />

RETURN<br />

Do not change this register, but continue, prompting at the next register.<br />

number<br />

Set this register to number.<br />

. (dot)<br />

Do not change this register, and quit.<br />

EOF<br />

Do not change this register, and quit.<br />

All numbers are entered and displayed in hexadecimal, except floating-point values,<br />

which may be entered in double precision.<br />

OK, or ERROR if the task or register does not exist.<br />

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

403

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

Saved successfully!

Ooh no, something went wrong!