PHP_FE(opendir, NULL)
PHP_FE(closedir, NULL)
PHP_FE(chdir, NULL)
+#if !defined(ZEND_WIN32)&&!defined(ZTS)
PHP_FE(chroot, NULL)
+#endif
PHP_FE(getcwd, NULL)
PHP_FE(rewinddir, NULL)
PHP_STATIC_FE("readdir", php_if_readdir, NULL)
}
/* }}} */
+
+#if !defined(ZEND_WIN32)&&!defined(ZTS)
/* {{{ proto int chroot(string directory)
Change root directory */
}
/* }}} */
+#endif
+
/* {{{ proto int chdir(string directory)
Change the current directory */
PHP_FUNCTION(opendir);
PHP_FUNCTION(closedir);
PHP_FUNCTION(chdir);
+#if !defined(ZEND_WIN32)&&!defined(ZTS)
PHP_FUNCTION(chroot);
+#endif
PHP_FUNCTION(getcwd);
PHP_FUNCTION(rewinddir);
PHP_NAMED_FUNCTION(php_if_readdir);