summaryrefslogtreecommitdiff
path: root/main/php_open_temporary_file.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-03-18 16:40:29 +0000
committerWez Furlong <wez@php.net>2003-03-18 16:40:29 +0000
commitce01fd9526d0fca767541e176d04c3a7079235c2 (patch)
tree0f1bac9b59f4f6b168e1af31f153bcc5f0d6307f /main/php_open_temporary_file.h
parent40326f6adf7110bd6676bf7445cff7483cf173fb (diff)
downloadphp-git-ce01fd9526d0fca767541e176d04c3a7079235c2.tar.gz
Avoid using FILE* where possible.
Tidy up handling of potential error situations for the php:// wrapper.
Diffstat (limited to 'main/php_open_temporary_file.h')
-rw-r--r--main/php_open_temporary_file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/php_open_temporary_file.h b/main/php_open_temporary_file.h
index 0342f92ca7..ef9fb9d676 100644
--- a/main/php_open_temporary_file.h
+++ b/main/php_open_temporary_file.h
@@ -22,5 +22,6 @@
#define PHP_OPEN_TEMPORARY_FILE_H
PHPAPI FILE *php_open_temporary_file(const char *dir, const char *pfx, char **opened_path_p TSRMLS_DC);
+PHPAPI int php_open_temporary_fd(const char *dir, const char *pfx, char **opened_path_p TSRMLS_DC);
#endif /* PHP_OPEN_TEMPORARY_FILE_H */