 | | The single parameter s should point to a character array of at least L_ctermid bytes; this constant is defined in the include file. The name of the terminal will be stored in this array, and the address of the array returned. If s is null, ctermid stores the terminal name in an internal static array that is overwritten on each call, and returns a pointer to that array. If the process has no controlling terminal, ctermid returns a null pointer. | |
|