On 10/07/2014 11:13, Julien Pauli wrote:
The difference between ftruncate and fallocate is meaningless in userland.
If `fallocate` is proposed in the user-land, then it will be logical to have
it in the stream wrapper API. That's it :-).
I admit that it would be nice for consistency, however I wonder how
users will interpret the difference between ftruncate and fallocate.
Users will interpret exactly what the documentation says ;-). Since PHP is a scripting language, it is just a collection of cross-platform bindings (on the top of C APIs in the case of php-src). Some bindings are just more advanced ones than others. That's all. Someone will be likely to use `fallocate` some day, for sure.

Cheers.

--
Ivan Enderlin
Developer of Hoa
http://hoa-project.net/

PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis)
http://disc.univ-fcomte.fr/ and http://www.inria.fr/

Member of HTML and WebApps Working Group of W3C
http://w3.org/


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to