Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-07-09 09:29:51 +0400
committerChristopher Faylor <me@cgf.cx>2000-07-09 09:29:51 +0400
commitbd4ec49671b07f93883c7e0c9142125525731714 (patch)
tree49c4d2e87d54048f97bea742896acb5b348ffda1 /winsup/cygwin/cygwin.din
parent85219b356e249702b845cf667462584945b1735b (diff)
* cygwin.din: Export _getmode and getmode to allow querying of binary state of
an fd. * external.cc (cygwin_internal): Add handling of perfile_table setting. * fhandler.cc (perfile_table): New global. (fhandler_base::get_default_fmode): New method to return a file's default mode based on its name. (fhandler_base::open): Use get_default_mode method to determine a file's mode. Record file mode in file flags. * fhandler.h (fhandler_base): Declare get_default_fmode * syscalls.cc (getmode): New function. * sys/cygwin.h (__cygwin_perfile): New structure. (cygwin_getinfo_types): Move outside of WINVER conditional. (per_process): Move inside of WINVER conditional.
Diffstat (limited to 'winsup/cygwin/cygwin.din')
-rw-r--r--winsup/cygwin/cygwin.din2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din
index 22c113724..5c9139ccf 100644
--- a/winsup/cygwin/cygwin.din
+++ b/winsup/cygwin/cygwin.din
@@ -335,6 +335,8 @@ getlogin
_getlogin = getlogin
getmntent
_getmntent = getmntent
+getmode
+_getmode = getmode
get_osfhandle
_get_osfhandle = get_osfhandle
getpagesize