From: Andrei Zmievski Date: Sat, 15 Jan 2000 19:42:40 +0000 (+0000) Subject: Fix prototype. X-Git-Tag: BEFORE_PRE_SHUTDOWN_REVERSE_PATCH~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bfc85c288a79efa28d1f491e082dc34a3e046467;p=php Fix prototype. --- diff --git a/ext/standard/file.c b/ext/standard/file.c index 1bc29b2f87..c5aa4a2201 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -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;