Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Message-ID: <37FDC4F3.A23EB1EB@1c.ru> Date: Fri, 08 Oct 1999 14:18:27 +0400 From: Vadim Egorov X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: ru,en MIME-Version: 1.0 To: "cygwin-developers AT sourceware DOT cygnus DOT com" Subject: ptsname etc. are missing in stdlib.h Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-MDaemon-Deliver-To: cygwin-developers AT sourceware DOT cygnus DOT com X-Return-Path: EgorovV AT 1c DOT ru 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 AT 1c DOT ru * egorovv AT 1c DOT ru *********************************************