]> granicus.if.org Git - php/commitdiff
- Correct some protos.
authorMarkus Fischer <mfischer@php.net>
Wed, 9 Jan 2002 16:51:53 +0000 (16:51 +0000)
committerMarkus Fischer <mfischer@php.net>
Wed, 9 Jan 2002 16:51:53 +0000 (16:51 +0000)
ext/sockets/sockets.c

index c52cfc28bd3538a5a854f4c01c971cfc839f5194..cd6f827dff30ce2ae6e69bf4335442d27db888bb 100644 (file)
@@ -746,7 +746,7 @@ PHP_FUNCTION(socket_write)
 
 typedef int (*read_func)(int, void *, int);
 
-/* {{{ proto mixed socket_read(resource socket, int length [, int type])
+/* {{{ proto string socket_read(resource socket, int length [, int type])
    Reads length bytes from socket */
 PHP_FUNCTION(socket_read)
 {
@@ -897,7 +897,7 @@ PHP_FUNCTION(socket_getpeername)
 }
 /* }}} */
 
-/* {{{ proto mixed socket_create(int domain, int type, int protocol)
+/* {{{ proto resource socket_create(int domain, int type, int protocol)
    Creates an endpoint for communication in the domain specified by domain, of type specified by type */
 PHP_FUNCTION(socket_create)
 {
@@ -1289,7 +1289,7 @@ PHP_FUNCTION(socket_writev)
 }
 /* }}} */
 
-/* {{{ proto mixed socket_recv(resource socket, int len, int flags)
+/* {{{ proto string socket_recv(resource socket, int len, int flags)
    Receives data from a connected socket */
 PHP_FUNCTION(socket_recv)
 {