Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Closing all open file descriptors
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-09-15 (18:33)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Closing all open file descriptors
On Sat, 2007-09-15 at 18:17 +0200, Markus E L wrote:

> Now the price question: Does anyone here have some insights how one
> gets at the open descriptors under windows? :-)

Why do you need to?

BOOL WINAPI CreateProcess(
  __in          LPCTSTR lpApplicationName,
  __in_out      LPTSTR lpCommandLine,
  __in          LPSECURITY_ATTRIBUTES lpProcessAttributes,
  __in          LPSECURITY_ATTRIBUTES lpThreadAttributes,
  __in          BOOL bInheritHandles,
  __in          DWORD dwCreationFlags,
  __in          LPVOID lpEnvironment,
  __in          LPCTSTR lpCurrentDirectory,
  __in          LPSTARTUPINFO lpStartupInfo,
  __out         LPPROCESS_INFORMATION lpProcessInformation

        If this parameter TRUE, each inheritable handle in the calling
        process is inherited by the new process. If the parameter is
        FALSE, the handles are not inherited. Note that inherited
        handles have the same value and access rights as the original
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: