* 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:
parent
3abbe5ea8e
commit
d5f3e0ba9a
@ -1,3 +1,11 @@
|
|||||||
|
2011-12-30 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2011-12-30 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
2011-12-30 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
||||||
|
|
||||||
* thread.cc: Mark pthread_rwlock_timedrdlock and
|
* thread.cc: Mark pthread_rwlock_timedrdlock and
|
||||||
|
@ -759,6 +759,7 @@ getprogname NOSIGFE
|
|||||||
getprotobyname = cygwin_getprotobyname SIGFE
|
getprotobyname = cygwin_getprotobyname SIGFE
|
||||||
getprotobynumber = cygwin_getprotobynumber SIGFE
|
getprotobynumber = cygwin_getprotobynumber SIGFE
|
||||||
getprotoent = cygwin_getprotoent SIGFE
|
getprotoent = cygwin_getprotoent SIGFE
|
||||||
|
getpt SIGFE
|
||||||
getpwduid NOSIGFE
|
getpwduid NOSIGFE
|
||||||
_getpwduid = getpwduid NOSIGFE
|
_getpwduid = getpwduid NOSIGFE
|
||||||
getpwent SIGFE
|
getpwent SIGFE
|
||||||
|
@ -31,6 +31,7 @@ char *setstate (const char *state);
|
|||||||
void srandom (unsigned);
|
void srandom (unsigned);
|
||||||
char *ptsname (int);
|
char *ptsname (int);
|
||||||
int ptsname_r(int, char *, size_t);
|
int ptsname_r(int, char *, size_t);
|
||||||
|
int getpt (void);
|
||||||
int grantpt (int);
|
int grantpt (int);
|
||||||
int unlockpt (int);
|
int unlockpt (int);
|
||||||
#endif /*__STRICT_ANSI__*/
|
#endif /*__STRICT_ANSI__*/
|
||||||
|
@ -425,12 +425,13 @@ details. */
|
|||||||
254: Export getgrouplist.
|
254: Export getgrouplist.
|
||||||
255: Export ptsname_r.
|
255: Export ptsname_r.
|
||||||
256: Add CW_ALLOC_DRIVE_MAP, CW_MAP_DRIVE_MAP, CW_FREE_DRIVE_MAP.
|
256: Add CW_ALLOC_DRIVE_MAP, CW_MAP_DRIVE_MAP, CW_FREE_DRIVE_MAP.
|
||||||
|
257: Export getpt.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
|
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
|
||||||
|
|
||||||
#define CYGWIN_VERSION_API_MAJOR 0
|
#define CYGWIN_VERSION_API_MAJOR 0
|
||||||
#define CYGWIN_VERSION_API_MINOR 256
|
#define CYGWIN_VERSION_API_MINOR 257
|
||||||
|
|
||||||
/* There is also a compatibity version number associated with the
|
/* There is also a compatibity version number associated with the
|
||||||
shared memory regions. It is incremented when incompatible
|
shared memory regions. It is incremented when incompatible
|
||||||
|
@ -1116,6 +1116,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para>
|
|||||||
get_nprocs_conf
|
get_nprocs_conf
|
||||||
getopt_long
|
getopt_long
|
||||||
getopt_long_only
|
getopt_long_only
|
||||||
|
getpt
|
||||||
getxattr
|
getxattr
|
||||||
lgetxattr
|
lgetxattr
|
||||||
listxattr
|
listxattr
|
||||||
|
@ -25,6 +25,12 @@ details. */
|
|||||||
|
|
||||||
HANDLE NO_COPY tty_list::mutex = NULL;
|
HANDLE NO_COPY tty_list::mutex = NULL;
|
||||||
|
|
||||||
|
extern "C" int
|
||||||
|
getpt (void)
|
||||||
|
{
|
||||||
|
return open ("/dev/ptmx", O_RDWR | O_NOCTTY);
|
||||||
|
}
|
||||||
|
|
||||||
extern "C" int
|
extern "C" int
|
||||||
posix_openpt (int oflags)
|
posix_openpt (int oflags)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user