File:  [DVB] / dietlibc / libcompat / ctermid.c
Revision 1.1: download - view: text, annotated - select for diffs
Sat Mar 15 02:36:42 2003 UTC (21 years, 6 months ago) by fefe
Branches: MAIN
CVS tags: branch_rc14_fieldtest_finnland, branch_rc13_fieldtest_finnland, HEAD
add ctermid and ftok (now perl should compile)
add some more linker warnings (we sure are accumulating lots of junk)

#include <stdio.h>
#include <string.h>
#include <dietwarning.h>

char* ctermid(char* s) {
  static char name[L_ctermid];
  if (!s) s=name;
  return strcpy(s,"/dev/tty");
}

link_warning("ctermid","ctermid is obsolete junk, don't use!");

LinuxTV legacy CVS <linuxtv.org/cvs>