summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2002-01-03 06:57:22 +0000
committerThies C. Arntzen <thies@php.net>2002-01-03 06:57:22 +0000
commit21cc717bac50f0a113f8162e938b049b97832a55 (patch)
tree275455e4eb823d729529ad18be3578b34ffe05ed
parente941df5d1a44708ecbcd8893ccbe47dbc733bc6b (diff)
downloadphp-git-21cc717bac50f0a113f8162e938b049b97832a55.tar.gz
protos fixes by Wolfgang Drews
-rw-r--r--ext/standard/dir.c10
1 files changed, 5 insertions, 5 deletions
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)