This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ptsname etc. are missing in stdlib.h


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
*********************************************


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]