package ocp-build

  1. Overview
  2. Docs
val safe_waitpid : int -> int
val command : string array -> int
val simulate_exec : string array -> 'a
val waitpids : int -> int array -> int * MinUnix.process_status
type fileinfo = {
  1. dwFileAttributes : int;
  2. ftCreationTime : float;
  3. ftLastAccessTime : float;
  4. ftLastWriteTime : float;
  5. dwVolumeSerialNumber : int;
  6. nFileSize : int64;
  7. nFileIndex : int64;
}
val getFileInformationByHandle : MinUnix.file_descr -> fileinfo
val getFileInformationByName : string -> fileinfo
val system : string -> MinUnix.process_status
val create_process : string -> string array -> MinUnix.file_descr -> MinUnix.file_descr -> MinUnix.file_descr -> int
val create_process_env : string -> string array -> string array -> MinUnix.file_descr -> MinUnix.file_descr -> MinUnix.file_descr -> int
val open_process_in : string -> in_channel
val open_process_out : string -> out_channel
val open_process : string -> in_channel * out_channel
val open_process_full : string -> string array -> in_channel * out_channel * in_channel
val close_process_in : in_channel -> MinUnix.process_status
val close_process_out : out_channel -> MinUnix.process_status
val close_process : (in_channel * out_channel) -> MinUnix.process_status
val close_process_full : (in_channel * out_channel * in_channel) -> MinUnix.process_status
type dir_handle
val opendir : string -> dir_handle
val readdir : dir_handle -> string
val rewinddir : dir_handle -> unit
val closedir : dir_handle -> unit
val create_process_chdir : string -> string -> string option -> MinUnix.file_descr -> MinUnix.file_descr -> MinUnix.file_descr -> string option -> int