From: Hartmut Holzgraefe Date: Thu, 6 Dec 2001 18:59:22 +0000 (+0000) Subject: proto fixes X-Git-Tag: ChangeLog~114 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1626365f946cf136fe052e2fc75fb7027963abf;p=php proto fixes --- diff --git a/ext/standard/file.c b/ext/standard/file.c index 016afd6afa..c0cad4f18f 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -822,8 +822,6 @@ PHP_FUNCTION(feof) /* }}} */ -/* {{{ proto int set_socket_blocking(int socket_descriptor, int mode) - Set blocking/non-blocking mode on a socket */ PHPAPI int php_set_sock_blocking(int socketd, int block) { int ret = SUCCESS; @@ -854,6 +852,8 @@ PHPAPI int php_set_sock_blocking(int socketd, int block) return ret; } +/* {{{ proto bool socket_set_blocking(resource socket, int mode) + Set blocking/non-blocking mode on a socket */ PHP_FUNCTION(socket_set_blocking) { zval **arg1, **arg2; diff --git a/ext/standard/formatted_print.c b/ext/standard/formatted_print.c index 2dc49c0640..14c9fc1d5d 100644 --- a/ext/standard/formatted_print.c +++ b/ext/standard/formatted_print.c @@ -687,7 +687,7 @@ PHP_FUNCTION(user_printf) } /* }}} */ -/* {{{ proto int printf(string format, array args) +/* {{{ proto int vprintf(string format, array args) Output a formatted string */ PHP_FUNCTION(vprintf) {