]> granicus.if.org Git - php/commitdiff
proto fixes
authorHartmut Holzgraefe <hholzgra@php.net>
Thu, 6 Dec 2001 18:59:22 +0000 (18:59 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Thu, 6 Dec 2001 18:59:22 +0000 (18:59 +0000)
ext/standard/file.c
ext/standard/formatted_print.c

index 016afd6afa4b331e2c9dc12dc366ba6d8b275b50..c0cad4f18fe4ef327b5df72abeb08f63640eafc3 100644 (file)
@@ -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;
index 2dc49c06405416c6503ab08c21835265f8e7213e..14c9fc1d5d17c16fe00d1bd4c977ab168f4200fd 100644 (file)
@@ -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)
 {