caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] stat of nonexistent file
@ 2016-07-25 12:55 Hendrik Boom
  2016-07-25 13:23 ` Daniel Bünzli
  0 siblings, 1 reply; 2+ messages in thread
From: Hendrik Boom @ 2016-07-25 12:55 UTC (permalink / raw)
  To: caml-list

While reading section 2.3 of https://ocaml.github.io/ocamlunix/files.html
I noticed that it does not specify what stat and lstat returnsif 
the named file does not exist.

(a) What do they do?
(b) Should this be specified in the documentation?
(c) Are these suitable functions to determine if a file exists?

-- hendrik


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-25 13:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-25 12:55 [Caml-list] stat of nonexistent file Hendrik Boom
2016-07-25 13:23 ` Daniel Bünzli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).