php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_reentrancy.h File Reference
#include "php.h"
#include <sys/types.h>
#include <time.h>

Go to the source code of this file.

Macros

#define HAVE_LOCALTIME   1
 
#define HAVE_GMTIME   1
 
#define HAVE_ASCTIME   1
 
#define HAVE_CTIME   1
 
#define PHP_NEED_REENTRANCY   1
 
#define PHP_NEED_REENTRANCY   1
 
#define PHP_NEED_REENTRANCY   1
 
#define PHP_NEED_REENTRANCY   1
 
#define reentrancy_startup()
 
#define reentrancy_shutdown()
 

Functions

PHPAPI struct tm * php_localtime_r (const time_t *const timep, struct tm *p_tm)
 
PHPAPI char * php_ctime_r (const time_t *clock, char *buf)
 
PHPAPI char * php_asctime_r (const struct tm *tm, char *buf)
 
PHPAPI struct tm * php_gmtime_r (const time_t *const timep, struct tm *p_tm)
 
PHPAPI char * php_strtok_r (char *s, const char *delim, char **last)
 

Macro Definition Documentation

◆ HAVE_ASCTIME

#define HAVE_ASCTIME   1

Definition at line 33 of file php_reentrancy.h.

◆ HAVE_CTIME

#define HAVE_CTIME   1

Definition at line 34 of file php_reentrancy.h.

◆ HAVE_GMTIME

#define HAVE_GMTIME   1

Definition at line 32 of file php_reentrancy.h.

◆ HAVE_LOCALTIME

#define HAVE_LOCALTIME   1

Definition at line 31 of file php_reentrancy.h.

◆ PHP_NEED_REENTRANCY [1/4]

#define PHP_NEED_REENTRANCY   1

Definition at line 51 of file php_reentrancy.h.

◆ PHP_NEED_REENTRANCY [2/4]

#define PHP_NEED_REENTRANCY   1

Definition at line 51 of file php_reentrancy.h.

◆ PHP_NEED_REENTRANCY [3/4]

#define PHP_NEED_REENTRANCY   1

Definition at line 51 of file php_reentrancy.h.

◆ PHP_NEED_REENTRANCY [4/4]

#define PHP_NEED_REENTRANCY   1

Definition at line 51 of file php_reentrancy.h.

◆ reentrancy_shutdown

#define reentrancy_shutdown ( )

Definition at line 113 of file php_reentrancy.h.

◆ reentrancy_startup

#define reentrancy_startup ( )

Definition at line 112 of file php_reentrancy.h.

Function Documentation

◆ php_asctime_r()

PHPAPI char * php_asctime_r ( const struct tm * tm,
char * buf )

Definition at line 152 of file reentrancy.c.

◆ php_ctime_r()

PHPAPI char * php_ctime_r ( const time_t * clock,
char * buf )

Definition at line 131 of file reentrancy.c.

◆ php_gmtime_r()

PHPAPI struct tm * php_gmtime_r ( const time_t *const timep,
struct tm * p_tm )

Definition at line 173 of file reentrancy.c.

◆ php_localtime_r()

PHPAPI struct tm * php_localtime_r ( const time_t *const timep,
struct tm * p_tm )

Definition at line 110 of file reentrancy.c.

◆ php_strtok_r()

PHPAPI char * php_strtok_r ( char * s,
const char * delim,
char ** last )

Definition at line 263 of file reentrancy.c.