delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/02/24/23:46:53

From: "Mark E." <snowball3 AT bigfoot DOT com>
To: djgpp-workers AT delorie DOT com
Date: Sat, 24 Feb 2001 23:46:11 -0500
MIME-Version: 1.0
Subject: O_TEMPORARY v2 documentation
Message-ID: <3A9847C3.13310.24DFA4@localhost>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp-workers AT delorie DOT com

Hi again,
Below is the O_TEMPORARY documentation.

Should the non-static fdprops.c functions be documented too?

Index: open.txh
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/posix/fcntl/open.txh,v
retrieving revision 1.6
diff -c -p -r1.6 open.txh
*** open.txh	2001/01/01 17:52:03	1.6
--- open.txh	2001/02/25 04:43:01
*************** component in @var{file} is symlink.
*** 78,83 ****
--- 78,91 ----
  If @var{file} is a symlink, @code{open} will open symlink file itself instead 
  of referred file.
  
+ @item O_TEMPORARY
+ 
+ Delete @var{file} when all file descriptors that refer to it are closed.
+ 
+ Note that @var{file} should not also be opened with
+ @code{_dos_creat}, @code{_dos_creatnew}, @code{_dos_open), or @code{_creat}.  
+ Otherwise @var{file} may not be deleted as expected.
+ 
  @end table
  
  If the file is created by this call, it will be given the read/write

- Raw text -


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