Hi, 

I am working on an extension that makes use of the pipe, read and write 
library calls on a linux platform. 

When I try to put this line 
read(fd, buf, 1024);
inside a php function ( PHP_FUNCTION(read_pipe) ) it fails to compile
with the following warning:
called object is not a function.

If I move the same line into a standard c function it compiles without
error. 

So my question is, is there some problem trying to make library calls
from within php functions? although other calls seem to work fine.

Thanks for any help
Tony 


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

Reply via email to