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);