delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/01/04:03:17

Date: Fri, 01 Dec 2000 10:02:40 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Tom Hunt" <thunt1 AT falcon DOT lhup DOT edu>
Message-Id: <3791-Fri01Dec2000100240+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp AT delorie DOT com
In-reply-to: <907a0b$763$1@jake.esu.edu> (thunt1@falcon.lhup.edu)
Subject: Re: MS-DOS file access attributes in _open
References: <907a0b$763$1 AT jake DOT esu DOT edu>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Tom Hunt" <thunt1 AT falcon DOT lhup DOT edu>
> Newsgroups: comp.os.msdos.djgpp
> Date: Thu, 30 Nov 2000 23:39:12 -0500
> 
> I'm using the _open function to open files in an editor program I'm working
> on.  In the DJGPP docs, it lists a second parameter, int attrib, which I'm
> guesing tells it what the read-write access is.  Could someone tell me what
> values do what with that parameter?

The documentation of _open has a link to _dos_open.  If you follow
that link, you will find the info you are looking for.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019