php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Go to the source code of this file.
Functions | |
PHPAPI FILE * | php_open_temporary_file (const char *dir, const char *pfx, zend_string **opened_path_p) |
PHPAPI int | php_open_temporary_fd_ex (const char *dir, const char *pfx, zend_string **opened_path_p, uint32_t flags) |
PHPAPI int | php_open_temporary_fd (const char *dir, const char *pfx, zend_string **opened_path_p) |
PHPAPI const char * | php_get_temporary_directory (void) |
#define PHP_TMP_FILE_DEFAULT 0 |
Definition at line 20 of file php_open_temporary_file.h.
#define PHP_TMP_FILE_OPEN_BASEDIR_CHECK PHP_TMP_FILE_OPEN_BASEDIR_CHECK_ON_FALLBACK |
Definition at line 28 of file php_open_temporary_file.h.
#define PHP_TMP_FILE_OPEN_BASEDIR_CHECK_ALWAYS (PHP_TMP_FILE_OPEN_BASEDIR_CHECK_ON_FALLBACK | PHP_TMP_FILE_OPEN_BASEDIR_CHECK_ON_EXPLICIT_DIR) |
Definition at line 24 of file php_open_temporary_file.h.
#define PHP_TMP_FILE_OPEN_BASEDIR_CHECK_ON_EXPLICIT_DIR (1<<2) |
Definition at line 23 of file php_open_temporary_file.h.
#define PHP_TMP_FILE_OPEN_BASEDIR_CHECK_ON_FALLBACK (1<<0) |
Definition at line 21 of file php_open_temporary_file.h.
#define PHP_TMP_FILE_SILENT (1<<1) |
Definition at line 22 of file php_open_temporary_file.h.
Definition at line 235 of file php_open_temporary_file.c.
PHPAPI int php_open_temporary_fd | ( | const char * | dir, |
const char * | pfx, | ||
zend_string ** | opened_path_p ) |
Definition at line 358 of file php_open_temporary_file.c.
PHPAPI int php_open_temporary_fd_ex | ( | const char * | dir, |
const char * | pfx, | ||
zend_string ** | opened_path_p, | ||
uint32_t | flags ) |
Definition at line 317 of file php_open_temporary_file.c.
PHPAPI FILE * php_open_temporary_file | ( | const char * | dir, |
const char * | pfx, | ||
zend_string ** | opened_path_p ) |
Definition at line 363 of file php_open_temporary_file.c.