#include <unistd.h> char *ctermid(char *s);
This function returns the name of the current terminal device. Under MS-DOS, this is always "con".
If s is null, returns pointer to internal static string "con". Otherwise, copies "con" to buffer pointed by s.
not ANSI, POSIX
Go to the first, previous, next, last section, table of contents.