From: Thies C. Arntzen Date: Thu, 3 Jan 2002 06:57:22 +0000 (+0000) Subject: protos fixes by Wolfgang Drews X-Git-Tag: PRE_ISSET_PATCH~323 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21cc717bac50f0a113f8162e938b049b97832a55;p=php protos fixes by Wolfgang Drews --- diff --git a/ext/standard/dir.c b/ext/standard/dir.c index e94e8b34f5..6503b567cc 100644 --- a/ext/standard/dir.c +++ b/ext/standard/dir.c @@ -184,7 +184,7 @@ static void _php_do_opendir(INTERNAL_FUNCTION_PARAMETERS, int createobject) } /* }}} */ -/* {{{ proto int opendir(string path) +/* {{{ proto mixed opendir(string path) Open a directory and return a dir_handle */ PHP_FUNCTION(opendir) @@ -202,7 +202,7 @@ PHP_FUNCTION(getdir) } /* }}} */ -/* {{{ proto void closedir([int dir_handle]) +/* {{{ proto void closedir([resource dir_handle]) Close directory connection identified by the dir_handle */ PHP_FUNCTION(closedir) @@ -279,7 +279,7 @@ PHP_FUNCTION(chdir) } /* }}} */ -/* {{{ proto string getcwd(void) +/* {{{ proto mixed getcwd(void) Gets the current directory */ PHP_FUNCTION(getcwd) @@ -310,7 +310,7 @@ PHP_FUNCTION(getcwd) } /* }}} */ -/* {{{ proto void rewinddir([int dir_handle]) +/* {{{ proto void rewinddir([resource dir_handle]) Rewind dir_handle back to the start */ PHP_FUNCTION(rewinddir) @@ -323,7 +323,7 @@ PHP_FUNCTION(rewinddir) rewinddir(dirp->dir); } /* }}} */ -/* {{{ proto string readdir([int dir_handle]) +/* {{{ proto string readdir([resource dir_handle]) Read directory entry from dir_handle */ PHP_NAMED_FUNCTION(php_if_readdir)