VMS Help
CRTL, ctermid
*Conan The Librarian
|
Returns a character string giving the equivalence string of
SYS$COMMAND. This is the name of the controlling terminal.
Format
#include <stdio.h>
char *ctermid (char *str);
The ctermid function has variants named _ctermid32 and _ctermid64
for use with 32-bit and 64-bit pointer sizes, respectively.
str
Must be a pointer to an array of characters. If this argument is
NULL, the filename is stored internally and might be overwritten
by the next ctermid call. Otherwise, the filename is stored
beginning at the location indicated by the argument. The argument
must point to a storage area of length L_ctermid (defined by the
<stdio.h> header file).
pointer Points to a character string.