From d93fca6a7ab52f518d3e8aca1fc94139313b97ad Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 11 Feb 2005 19:21:47 +0000 Subject: new man pages --- man/man3/open.3 | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'man/man3/open.3') diff --git a/man/man3/open.3 b/man/man3/open.3 index 51ff2cdf..ee0b276e 100644 --- a/man/man3/open.3 +++ b/man/man3/open.3 @@ -38,9 +38,12 @@ says to close the file when an or .I execl system call is made; -and .B ORCLOSE -says to remove the file when it is closed (by everyone who has a copy of the file descriptor). +says to remove the file when it is closed (by everyone who has a copy of the file descriptor); +and +.B OAPPEND +says to open the file in append-only mode, so that writes +are always appended to the end of the file. .I Open fails if the file does not exist or the user does not have permission to open it for the requested purpose @@ -145,3 +148,14 @@ allows the file descriptor to be reused. .SH DIAGNOSTICS These functions set .IR errstr . +.SH BUGS +Not all functionality is supported on all systems. +.PP +The +.B DMAPPEND +bit is not supported on any systems. +.PP +The implementation of +.B ORCLOSE +is to unlink the file after opening it, causing problems +in programs that try to access the file by name before it is closed. -- cgit v1.2.3