note 33194 added to function.dio-open
| From: | archpollux at rack1 dot php dot net | Date: | Wed, 18 Jun 2003 17:57:19 +0000 |
| Subject: | note 33194 added to function.dio-open | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-50592@lists.php.net to get a copy of this message | ||
Actually, that's the not-so-good method to do it. You need to logically OR the values together:
$fd = dio_open("file", O_WRONLY | O_APPEND)
This is safe in case you put one flag more than once, otherwise you could get unwanted results.
----
Manual Page -- http://www.php.net/manual/en/function.dio-open.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33194
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33194&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33194&report=yes