Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (M)
Guardian Procedure Calls Reference Manual522629-013
9-76
MYTERM Procedure
(Superseded by PROCESS_GETINFOLIST_
MYTERM Procedure
(Superseded by PROCESS_GETINFOLIST_
Procedure )
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Considerations
Summary
The MYTERM procedure provides a process with the file name of its home terminal.
The file name returned from MYTERM is suitable for passing directly to any Guardian
procedure that accepts a file name in internal form.
Syntax for C Programmers
This procedure does not have a C syntax, because it is superseded and should not be
used for new development. This procedure is supported only for compatibility with
previous software.
Syntax for TAL Programmers
file-name output
INT:ref:12
is a 12-word array where MYTERM returns the device name and the subdevice
name, if any, of the home terminal in one of the following two forms:
$devname [#subdev-name]
$process-name [#subname]
Considerations
The file name returned from MYTERM is the same form as that used by the file-
system procedures.
The home terminal is always the same as the home terminal of a process’s true
creator (not the process that adopted it through STEPMOM or
PROCESS_SETINFO_), unless the home terminal is altered by SETMYTERM or
the home terminal option in PROCESS_CREATE_, PROCESS_SPAWN_,
Note. This procedure is supported for compatibility with previous software and should not be
used for new development.
CALL MYTERM ( file-name ); ! o