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