This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
ptsname etc. are missing in stdlib.h
- To: "cygwin-developers at sourceware dot cygnus dot com" <cygwin-developers at sourceware dot cygnus dot com>
- Subject: ptsname etc. are missing in stdlib.h
- From: Vadim Egorov <egorovv at 1c dot ru>
- Date: Fri, 08 Oct 1999 14:18:27 +0400
Hello,
I found that Cygwin exports grantpt, unlockpt and ptsname
functions but they are not declared in stdlib.h.
I think it should be like this:
--- newlib/libc/include/stdlib.h.orig Fri Oct 08 10:17:04 1999
+++ newlib/libc/include/stdlib.h Fri Oct 08 10:18:57 1999
@@ -117,6 +117,9 @@
void _EXFUN(unsetenv,(const char *__string));
int _EXFUN(random,(_VOID));
long _EXFUN(srandom,(unsigned __seed));
+char * _EXFUN(ptsname, (int));
+int _EXFUN(grantpt, (int));
+int _EXFUN(unlockpt,(int));
#endif
#endif /* ! __STRICT_ANSI__ */
--
Regards,
Vadim Egorov
--
*********************************************
Vadim Egorov, 1C * Вадим Егоров,1C
egorovv@1c.ru * egorovv@1c.ru
*********************************************