diff options
author | Christopher Faylor <me@cgf.cx> | 2003-03-09 20:10:25 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-03-09 20:10:25 +0000 |
commit | c367dfd02c197b33e432f97d74351735f6242e12 (patch) | |
tree | 54213ad3aa76b30f6eb18e9ea8f2bc98f906a1f9 /winsup/cygwin/autoload.cc | |
parent | 90fec0fa7a96fbf5a2c39be1410336e3f84da477 (diff) | |
download | cygnal-c367dfd02c197b33e432f97d74351735f6242e12.tar.gz cygnal-c367dfd02c197b33e432f97d74351735f6242e12.tar.bz2 cygnal-c367dfd02c197b33e432f97d74351735f6242e12.zip |
Do some minor reformatting of 'extern "C"' use throughout.
* autoload.cc (GetSystemTimes): Define new autoload function.
* fhandler_proc.cc (proc_listing): Add cpuinfo and partitions entries.
(fhandler_proc::fill_filebuf): Add PROC_CPUINFO and PROC_PARTITIONS cases.
(format_proc_uptime): Use GetSystemTimes if available.
(read_value): New macro.
(print): New macro.
(cpuid): New function.
(can_set_flag): New function.
(format_proc_cpuinfo): New function.
(format_proc_partitions): New function.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r-- | winsup/cygwin/autoload.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index b29c9d269..659ca2be2 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -501,6 +501,7 @@ LoadDLLfuncEx (CreateHardLinkA, 12, kernel32, 1) LoadDLLfuncEx (CreateToolhelp32Snapshot, 8, kernel32, 1) LoadDLLfuncEx2 (GetCompressedFileSizeA, 8, kernel32, 1, 0xffffffff) LoadDLLfuncEx (GetConsoleWindow, 0, kernel32, 1) +LoadDLLfuncEx (GetSystemTimes, 12, kernel32, 1) LoadDLLfuncEx2 (IsDebuggerPresent, 0, kernel32, 1, 1) LoadDLLfuncEx (Process32First, 8, kernel32, 1) LoadDLLfuncEx (Process32Next, 8, kernel32, 1) |