Date: 03/05/99
- Next message: joey <email protected>: "[PHP-DEV] Bug #1204: hg_comm.c and hw.c disagree on send_putdocument"
- Previous message: Bob Silva: "[PHP-DEV] Need just a little help getting this LDAP addition going"
- Next in thread: Christine Burke: "[PHP-DEV] Re: [PHP3] fopen using append not atomic."
- Reply: Christine Burke: "[PHP-DEV] Re: [PHP3] fopen using append not atomic."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>Ah, right. atomicity is only guaranteed for unbuffered file operations.
>I completely forgot about that. We will have to have a look at the best
>way to provide unbuffered io ops in PHP.
>
>-Rasmus
Richard and I played with this some. Basically a call like (C code):
setvbuf( fp, NULL, _IONBF, 0 );
needs to be made on the file pointer immediately after the file is opened.
Now I do not know whether this should be wrapped up somehow, or simply
expose setvbuf through PHP. What is the preferred way of doing this?
Brian.
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: joey <email protected>: "[PHP-DEV] Bug #1204: hg_comm.c and hw.c disagree on send_putdocument"
- Previous message: Bob Silva: "[PHP-DEV] Need just a little help getting this LDAP addition going"
- Next in thread: Christine Burke: "[PHP-DEV] Re: [PHP3] fopen using append not atomic."
- Reply: Christine Burke: "[PHP-DEV] Re: [PHP3] fopen using append not atomic."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

