summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2000-01-15 19:42:40 +0000
committerAndrei Zmievski <andrei@php.net>2000-01-15 19:42:40 +0000
commitbfc85c288a79efa28d1f491e082dc34a3e046467 (patch)
tree2eafa5a616284c5fa62be0034bb799798db7ca66
parent4423bf9d10c10eee3c1ecd7fbdf503188d1859e2 (diff)
downloadphp-git-bfc85c288a79efa28d1f491e082dc34a3e046467.tar.gz
Fix prototype.
-rw-r--r--ext/standard/file.c6
1 files changed, 3 insertions, 3 deletions
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;