OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [linux/] [ctermid.c] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/* ctermid */
2
 
3
#include <stdio.h>
4
#include <string.h>
5
 
6
static char devname[] = "/dev/tty";
7
 
8
char *
9
_DEFUN (ctermid, (buf),
10
     char *buf)
11
{
12
  if (buf == NULL)
13
    return devname;
14
 
15
  return strcpy (buf, "/dev/tty");
16
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.