caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Olivier Andrieu <andrieu@ijm.jussieu.fr>
To: skaller@users.sourceforge.net
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] lstat on windows native
Date: Tue, 25 May 2004 10:55:31 +0200 (CEST)	[thread overview]
Message-ID: <20040525.105531.13989532.andrieu@ijm.jussieu.fr> (raw)
In-Reply-To: <1085470849.6065.457.camel@pelican.wigram>

 skaller [25 May 2004]:
 > Currently, I need to use lstat (as pointed out in previous
 > email) but it isn't implemented on Windows native port
 > according to 3.07 documentation.
 > 
 > If I understand correctly this means my program won't
 > compile/link on Win32, which isn't very nice.

No, using unimplemented features of the Unix module will never prevent
your program to compile nor link. The module signature is the same on
all platforms. However, it will probably raise an exception at runtime
(like Invalid_argument "foo not implemented").

Concerning lstat, it is a bit different, lstat is defined as:

 let lstat = stat

 > if Sys.os_type = "Win32" then stat else lstat

that's fine too, of course.

-- 
   Olivier

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2004-05-25  8:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-25  7:40 skaller
2004-05-25  8:55 ` Olivier Andrieu [this message]
2004-05-25  9:41   ` skaller
2004-05-25 15:33     ` David Brown
2004-05-25 10:20 ` Peter Jolly
2004-05-25 21:19 ` sylvain.le-gall
2004-05-26  7:19   ` skaller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040525.105531.13989532.andrieu@ijm.jussieu.fr \
    --to=andrieu@ijm.jussieu.fr \
    --cc=caml-list@inria.fr \
    --cc=skaller@users.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).