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/] [syscalls/] [sysisatty.c] - Blame information for rev 258

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/* connector for isatty */
2
 
3
#include <reent.h>
4
#include <unistd.h>
5
 
6
int
7
_DEFUN (isatty, (fd),
8
     int fd)
9
{
10
#ifdef REENTRANT_SYSCALLS_PROVIDED
11
  return _isatty_r (_REENT, fd);
12
#else
13
  return _isatty (fd);
14
#endif
15
}

powered by: WebSVN 2.1.0

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