Guardian Programming Reference Summary for C

Functions Summary (O-Q)
Guardian Programming Reference Summary for C522630-001
7-34
PROCESSSTRING_SCAN_
Scans an input string for a process string and returns the corresponding process handle
or a single component of the process string converted to internal form.
stringtype
options
PROCESSTIME
(superseded by PROCESS_GETINFO_ and PROCESS_GETINFOLIST_) Returns the
process execution time of any process in the network.
5 = Tandem NonStop Cyclone processor.
6 = Tandem NonStop NSR-L processor.
7 = Tandem NonStop NSR-N, NSR-P, or NSR-K processor.
8 = Tandem NonStop NSR-W processor.
9 = Tandem NonStop NSR-G or NSR-T processor.
#include <cextdecs(PROCESSSTRING_SCAN_)>
short PROCESSSTRING_SCAN_ ( char *string /* i */
,short length /* i */
,[ short *length-used ] /* o */
,[ short *processhandle ] /* o */
,[ short *stringtype ] /* o */
,[ char *name ] /* o */
,[ short maxlen ] /* i */
,[ short *namelen ] /* o */
,[ short *cpu ] /* o */
,[ short *pin ] ); /* o */
0 = Asterisk form (that is, “*”)
1 = Single processor form (for example, “2”)
2 = Processor, PIN form (for example, “2,137”)
3 = Name form (for example, “$PSRV”)
Bits 0-14 Reserved (specify 0).
Bit 15 = 1 Device names (up to eight characters) are to be accepted in the input
string.
= 0 Device names are not to be accepted in the input string.