diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-07-18 15:17:25 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-07-18 15:17:25 +0400 |
commit | 010f7350bad61a6d306a5ee755e7ed9e9761404a (patch) | |
tree | de26ee9e894f9bcc8b536fed14d17fbde8a3c569 /winsup/cygwin/include | |
parent | 03b7882aa0eb4b772f9bbf51df22145412bc27cd (diff) |
* cygwin.din (getmntent_r): Export.
* mount.cc (getmntent_r): New function.
* posix.sgml (std-gnu): Add getmntent_r.
* include/mntent.h (getmntent_r): Declare.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 3 | ||||
-rw-r--r-- | winsup/cygwin/include/mntent.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index 0e9ead932..7b85d881b 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -430,12 +430,13 @@ details. */ 259: Export pthread_sigqueue. 260: Export scandirat. 261: Export memrchr. + 262: Export getmntent_r. */ /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 261 +#define CYGWIN_VERSION_API_MINOR 262 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible diff --git a/winsup/cygwin/include/mntent.h b/winsup/cygwin/include/mntent.h index 8ad270ba0..5fb8e3a70 100644 --- a/winsup/cygwin/include/mntent.h +++ b/winsup/cygwin/include/mntent.h @@ -31,6 +31,7 @@ struct mntent #include <stdio.h> FILE *setmntent (const char *__filep, const char *__type); struct mntent *getmntent (FILE *__filep); +struct mntent *getmntent_r (FILE *, struct mntent *, char *, int); int endmntent (FILE *__filep); #endif |