Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Manuel Fahndrich <maf@microsoft.com>
To: "'caml-list@inria.fr'" <caml-list@inria.fr>
Subject: file permission integer
Date: Fri, 26 Mar 1999 12:33:35 -0800	[thread overview]
Message-ID: <25983782061AD111B0800000F86310FE1026CBB2@RED-MSG-42> (raw)


The OCAML core contains a function

	open_out_gen : open_flag list -> int -> string -> out_channel

where the integer corresponds to the file permissions set when a new file is
created. How is this integer interpreted? Does it vary from platform to
platform? (Unix vs Windows).

Similarly, under the Unix module, there is the type file_perm = int, serving
the same purpose. Are these integers interpreted with the standard Unix
octal file permission bits? How about under Windows?

If this information is described in the doc, I apologize, but I couldn't
find it.

-Manuel




             reply	other threads:[~1999-03-29  8:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-26 20:33 Manuel Fahndrich [this message]
1999-03-29 16:10 ` Xavier Leroy
1999-03-30  7:33   ` Friedman Roy
1999-03-30 18:13 Manuel Fahndrich

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=25983782061AD111B0800000F86310FE1026CBB2@RED-MSG-42 \
    --to=maf@microsoft.com \
    --cc=caml-list@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