TMF Application Programmer's Guide (H06.06+, J06.03+)

File System Procedures
HP NonStop TMF Application Programmers Guide540139-009
4-17
GETTMPNAME
GETTMPNAME
This procedure returns the logical device name of the TMF Management Process
(TMP) defined during system configuration. You need to know the TMP name, which is
always $TMP, in order to open the TFILE.
Syntax for C Programmers
Note. This procedure can be called from 32-bit and 64-bit applications.
Syntax for TNS Programmers
Syntax for TNS/E Programmers
Syntax for TAL Programmers
Parameters
status returned value
INT
is a file system error number:
For a list of file system error numbers, refer to the Operator Messages Manual.
devname output
INT:ref:12
or
#include <cextdecs(GETTMPNAME)>
short GETTMPNAME ( short _near *devname );
#include <cextdecs(GETTMPNAME)>
short GETTMPNAME ( short _ptr64 *devname );
status := GETTMPNAME ( devname ); ! o
0 Successful completion.
29 Missing parameter(s).
82 TMF not running.
84 TMF not configured.