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>2001-10-05 04:17:57 +0400
committerChristopher Faylor <me@cgf.cx>2001-10-05 04:17:57 +0400
commit32fb80db07f9406e50fca623e9888015e96ccd75 (patch)
treedbd8673a0e37aa156da7c1ac8aa55d45f72d66df /winsup/cygwin/winsup.h
parent8af0f81d522b3143ad6fcd5504e4b2ccc7c5b856 (diff)
* syscalls.cc (stat_worker): Make global. Accept path_conv parameter for
passing information back to caller. * winsup.h: Declare stat_worker. * dir.cc (opendir): Use stat_worker rather than stat and pass path_conv parameter to stat_worker for later inspection. * syslog.cc (syslog): Teach syslog about syslog priorities other than LOG_ERR, LOG_WARNING and LOG_INFO * path.cc (path_conv::check): Don't perform file system or rootdir checks on devices.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r--winsup/cygwin/winsup.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index e1f59b761..27c4f738e 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -214,6 +214,10 @@ extern "C" void __malloc_unlock (struct _reent *);
extern "C" void __malloc_lock (struct _reent *);
extern "C" void __malloc_unlock (struct _reent *);
+class path_conv;
+int __stdcall stat_worker (const char *name, struct stat *buf, int nofollow,
+ path_conv *pc = NULL) __attribute__ ((regparm (3)));
+
/**************************** Exports ******************************/
extern "C" {