2008-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>

* libc/include/sys/unistd.h: Enable ttyname_r() for RTEMS.
This commit is contained in:
Jeff Johnston 2008-10-15 21:37:54 +00:00
parent 6b35caa257
commit baa9e037cc
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/include/sys/unistd.h: Enable ttyname_r() for RTEMS.
2008-10-15 Craig Howland <howland@LGSInnovations.com>
* libc/include/ctype.h (isblank): isblank is C99.

View File

@ -166,7 +166,7 @@ long _EXFUN(sysconf, (int __name ));
pid_t _EXFUN(tcgetpgrp, (int __fildes ));
int _EXFUN(tcsetpgrp, (int __fildes, pid_t __pgrp_id ));
char _EXFUN(*ttyname, (int __fildes ));
#if defined(__CYGWIN__)
#if defined(__CYGWIN__) || defined(__rtems__)
int _EXFUN(ttyname_r, (int, char *, size_t));
#endif
int _EXFUN(unlink, (const char *__path ));