php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_open_temporary_file.c File Reference
#include "php.h"
#include "zend_long.h"
#include "php_open_temporary_file.h"
#include "ext/random/php_random.h"
#include "zend_operators.h"
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>

Go to the source code of this file.

Macros

#define P_tmpdir   ""
 

Functions

PHPAPI const char * php_get_temporary_directory (void)
 
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 FILE * php_open_temporary_file (const char *dir, const char *pfx, zend_string **opened_path_p)
 

Macro Definition Documentation

◆ P_tmpdir

#define P_tmpdir   ""

Definition at line 50 of file php_open_temporary_file.c.

Function Documentation

◆ php_get_temporary_directory()

PHPAPI const char * php_get_temporary_directory ( void )

Definition at line 235 of file php_open_temporary_file.c.

◆ php_open_temporary_fd()

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.

◆ php_open_temporary_fd_ex()

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.

◆ php_open_temporary_file()

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.