diff options
| author | Markus Fischer <mfischer@php.net> | 2002-01-09 16:51:53 +0000 |
|---|---|---|
| committer | Markus Fischer <mfischer@php.net> | 2002-01-09 16:51:53 +0000 |
| commit | 98220d2a82d174ce5b157d44fabc255e953eedf2 (patch) | |
| tree | c8f4e008c21d4b68a80e3f45f8d27ad22927b471 | |
| parent | aee570302f7ec129ec83e675461a9fbd80efb22d (diff) | |
| download | php-git-98220d2a82d174ce5b157d44fabc255e953eedf2.tar.gz | |
- Correct some protos.
| -rw-r--r-- | ext/sockets/sockets.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index c52cfc28bd..cd6f827dff 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -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) { |
