* libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.

This commit is contained in:
Corinna Vinschen 2004-04-20 11:09:36 +00:00
parent 1b557b4333
commit 1c17deea9d
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-04-20 Corinna Vinschen <corinna@vinschen.de>
* libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
2004-04-10 Corinna Vinschen <corinna@vinschen.de>
* libc/include/sys/unistd.h (sync): Define void on Cygwin according

View File

@ -146,6 +146,9 @@ 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__)
int _EXFUN(ttyname_r, (int, char * size_t));
#endif
int _EXFUN(unlink, (const char *__path ));
int _EXFUN(vhangup, (void ));
_READ_WRITE_RETURN_TYPE _EXFUN(write, (int __fd, const void *__buf, size_t __nbyte ));