Back to index

glibc  2.9
Functions
ctermid.c File Reference
#include <stdio.h>
#include <string.h>

Go to the source code of this file.

Functions

char * ctermid (char *s)

Function Documentation

char* ctermid ( char *  s)

Definition at line 27 of file ctermid.c.

{
  static char name[L_ctermid];

  if (s == NULL)
    s = name;

  return strcpy (s, "/dev/tty");
}

Here is the call graph for this function: