delorie.com/djgpp/doc/libc/libc_126.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#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.
ANSI/ISO C | No |
POSIX | 1003.2-1992; 1003.1-2001 |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |