delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/10/08/06:19:10

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
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 <egorovv AT 1c DOT ru>
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"
<cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: ptsname etc. are missing in stdlib.h
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
*********************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019