summaryrefslogtreecommitdiff
path: root/ext/standard/file.c
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2001-12-07 07:27:00 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2001-12-07 07:27:00 +0000
commit94737d086f8ef4d9c2a1ceea102fa4ae84c1d900 (patch)
tree7bc0f266895d361ed26aca365e8b382893d0333b /ext/standard/file.c
parent15515da8a2031086a5c4f75d04ef5ec2925cfa1b (diff)
downloadphp-git-94737d086f8ef4d9c2a1ceea102fa4ae84c1d900.tar.gz
proto fix
Diffstat (limited to 'ext/standard/file.c')
-rw-r--r--ext/standard/file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c
index c0cad4f18f..907a211cf9 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -891,11 +891,14 @@ PHP_FUNCTION(socket_set_blocking)
/* }}} */
+/* {{{ proto bool set_socket_blocking(resource socket, int mode)
+ Set blocking/non-blocking mode on a socket */
PHP_FUNCTION(set_socket_blocking)
{
php_error(E_NOTICE, "set_socket_blocking() is deprecated, use socket_set_blocking() instead");
PHP_FN(socket_set_blocking)(INTERNAL_FUNCTION_PARAM_PASSTHRU);
}
+/* }}} */
/* {{{ proto bool socket_set_timeout(int socket_descriptor, int seconds, int microseconds)
Set timeout on socket read to seconds + microseonds */