]> granicus.if.org Git - php/commitdiff
Fix prototype.
authorAndrei Zmievski <andrei@php.net>
Sat, 15 Jan 2000 19:42:40 +0000 (19:42 +0000)
committerAndrei Zmievski <andrei@php.net>
Sat, 15 Jan 2000 19:42:40 +0000 (19:42 +0000)
ext/standard/file.c

index 1bc29b2f877bc6652c2eca08f65f2c6ed3db9910..c5aa4a2201868324aea9e64a2434368b94602bd4 100644 (file)
@@ -876,11 +876,11 @@ PHP_FUNCTION(set_socket_blocking)
 }
 
 /* }}} */
-/* {{{ proto int set_socket_timeout(int socket descriptor, int timeout )
-   NYI */
 
+
+/* {{{ proto bool set_socket_timeout(int socket descriptor, int seconds, int microseconds)
+   Set timeout on socket read to seconds + microseonds */
 #if HAVE_SYS_TIME_H
-/* this doesn't work, as it appears those properties are read-only :( */
 PHP_FUNCTION(set_socket_timeout)
 {
        zval **socket, **seconds, **microseconds;