* cygwin.din (getpt): Export.
* posix.sgml (std-gnu): Add getpt. * tty.cc (getpt): New function. * include/cygwin/stdlib.h [!__STRICT_ANSI__] (getpt): Declare. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
This commit is contained in:
@@ -25,6 +25,12 @@ details. */
|
||||
|
||||
HANDLE NO_COPY tty_list::mutex = NULL;
|
||||
|
||||
extern "C" int
|
||||
getpt (void)
|
||||
{
|
||||
return open ("/dev/ptmx", O_RDWR | O_NOCTTY);
|
||||
}
|
||||
|
||||
extern "C" int
|
||||
posix_openpt (int oflags)
|
||||
{
|
||||
|
Reference in New Issue
Block a user