~ubuntu-branches/debian/sid/ocaml/sid

« back to all changes in this revision

Viewing changes to stdlib/sys.mli

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Glondu
  • Date: 2011-04-21 21:35:08 UTC
  • mfrom: (1.1.11 upstream) (12.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110421213508-kg34453aqmb0moha
* Fixes related to -output-obj with g++ (in debian/patches):
  - add Declare-primitive-name-table-as-const-char
  - add Avoid-multiple-declarations-in-generated-.c-files-in
  - fix Embed-bytecode-in-C-object-when-using-custom: the closing
    brace for extern "C" { ... } was missing in some cases

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
(*                                                                     *)
12
12
(***********************************************************************)
13
13
 
14
 
(* $Id: sys.mli 7927 2007-02-26 14:21:57Z xleroy $ *)
 
14
(* $Id: sys.mli 10457 2010-05-21 18:30:12Z doligez $ *)
15
15
 
16
16
(** System interface. *)
17
17
 
30
30
external is_directory : string -> bool = "caml_sys_is_directory"
31
31
(** Returns [true] if the given name refers to a directory,
32
32
    [false] if it refers to another kind of file.
33
 
    Raise [Sys_error] if no file exists with the given name. *)
 
33
    Raise [Sys_error] if no file exists with the given name.
 
34
    @since 3.12.0
 
35
*)
34
36
 
35
37
external remove : string -> unit = "caml_sys_remove"
36
38
(** Remove the given file name from the file system. *)