Mail Archives: djgpp-workers/2001/02/24/23:46:53
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 -