rfc:fsync_function
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:fsync_function [2021/01/30 00:37] – created dwgebler | rfc:fsync_function [2021/01/30 16:24] – Added example failure on non-file resource dwgebler | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2021-01-30 | * Date: 2021-01-30 | ||
* Author: David Gebler, davidgebler@gmail.com | * Author: David Gebler, davidgebler@gmail.com | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
Line 18: | Line 18: | ||
bool(true) | bool(true) | ||
+ | |||
+ | $fp = fopen(' | ||
+ | fwrite($fp," | ||
+ | var_dump(fsync($fp)); | ||
+ | |||
+ | Warning: fsync(): Can't fsync this stream in php shell code on line 1 | ||
+ | bool(false) | ||
</ | </ | ||
rfc/fsync_function.txt · Last modified: 2021/04/13 14:10 by nikic