caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Eric Cooper <ecc@cmu.edu>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Annoying compiler magic
Date: Sat, 12 Nov 2005 17:24:04 -0500	[thread overview]
Message-ID: <20051112222404.GB1784@localhost> (raw)
In-Reply-To: <ad8cfe7e0511121400n7f2af734o40e15a3daadbe957@mail.gmail.com>

On Sun, Nov 13, 2005 at 11:00:21AM +1300, Jonathan Roewen wrote:
> Where the hell are these coming from? Are they built into the compiler
> itself? As I can't find anything to explain it.

grep is your friend.

$ grep -r caml_sys_open .
./stdlib/pervasives.ml:external open_desc: string -> open_flag list ->
int -> int = "caml_sys_open"
./stdlib/filename.ml:external open_desc: string -> open_flag list ->
int -> int = "caml_sys_open"
./otherlibs/threads/pervasives.ml:external open_desc: string ->
open_flag list -> int -> int = "caml_sys_open"
./byterun/sys.c:CAMLprim value caml_sys_open(value path, value vflags,
value vperm)

-- 
Eric Cooper             e c c @ c m u . e d u


  reply	other threads:[~2005-11-12 22:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-12 22:00 Jonathan Roewen
2005-11-12 22:24 ` Eric Cooper [this message]
2005-11-12 23:20   ` Jonathan Roewen
2005-11-13  0:27     ` Jonathan Roewen

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=20051112222404.GB1784@localhost \
    --to=ecc@cmu.edu \
    --cc=caml-list@yquem.inria.fr \
    /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).