aboutsummaryrefslogtreecommitdiff
path: root/lib/cUnix.mli
diff options
context:
space:
mode:
authorpboutill2012-05-23 14:41:24 +0000
committerpboutill2012-05-23 14:41:24 +0000
commit8837c2365c382adb0a74bfedabb1659eeb472adc (patch)
tree88761584df9487ab39fe2bc2627c029d67acc229 /lib/cUnix.mli
parent24473ef1954c856907ba8907a4d2c910505125a1 (diff)
Revert copy/pasted function in to minilib thanks to clib.cma
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15352 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'lib/cUnix.mli')
-rw-r--r--lib/cUnix.mli8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/cUnix.mli b/lib/cUnix.mli
index 00419bc977..c740d1254d 100644
--- a/lib/cUnix.mli
+++ b/lib/cUnix.mli
@@ -12,6 +12,11 @@ type physical_path = string
type load_path = physical_path list
val canonical_path_name : string -> string
+val remove_path_dot : string -> string
+val strip_path : string -> string
+(** correct_path f dir = dir/f if f is relative *)
+val correct_path : string -> string -> string
+
val physical_path_of_string : string -> physical_path
val string_of_physical_path : physical_path -> string
@@ -30,3 +35,6 @@ val file_readable_p : string -> bool
val run_command : (string -> string) -> (string -> unit) -> string ->
Unix.process_status * string
+(** checks if two file names refer to the same (existing) file *)
+val same_file : string -> string -> bool
+