From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA24190 for caml-redistribution; Mon, 29 Mar 1999 10:08:18 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id GAA18040 for ; Sat, 27 Mar 1999 06:28:01 +0100 (MET) Received: from inet-vrs-03.microsoft.com (inet-vrs-03.microsoft.com [131.107.3.103]) by nez-perce.inria.fr (8.8.7/8.8.7) with SMTP id GAA02877 for ; Sat, 27 Mar 1999 06:27:59 +0100 (MET) Received: from 157.54.9.123 by inet-vrs-03.microsoft.com (InterScan E-Mail VirusWall NT); Fri, 26 Mar 1999 21:27:54 -0800 (Pacific Standard Time) Received: by INET-IMC-03 with Internet Mail Service (5.5.2524.0) id ; Fri, 26 Mar 1999 21:27:54 -0800 Message-ID: <25983782061AD111B0800000F86310FE1026CBB2@RED-MSG-42> From: Manuel Fahndrich To: "'caml-list@inria.fr'" Subject: file permission integer Date: Fri, 26 Mar 1999 12:33:35 -0800 X-Mailer: Internet Mail Service (5.5.2524.0) Sender: weis 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