Re: [PATCH] Add getpt(3)

2011-12-30 Thread Christopher Faylor
On Fri, Dec 30, 2011 at 12:44:57AM -0600, Yaakov (Cygwin/X) wrote: getpt(3) is a GNU extension which predates posix_openpt(3): http://www.kernel.org/doc/man-pages/online/pages/man3/getpt.3.html The code itself is quite simple, but let me preempt some questions: 1) Yes, portable code should use

[PATCH] Add getpt(3)

2011-12-29 Thread Yaakov (Cygwin/X)
getpt(3) is a GNU extension which predates posix_openpt(3): http://www.kernel.org/doc/man-pages/online/pages/man3/getpt.3.html The code itself is quite simple, but let me preempt some questions: 1) Yes, portable code should use posix_openpt(3). Unfortunately not all code is written with