php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_filestat.h File Reference

Go to the source code of this file.

Macros

#define FS_PERMS   0
 
#define FS_INODE   1
 
#define FS_SIZE   2
 
#define FS_OWNER   3
 
#define FS_GROUP   4
 
#define FS_ATIME   5
 
#define FS_MTIME   6
 
#define FS_CTIME   7
 
#define FS_TYPE   8
 
#define FS_IS_W   9
 
#define FS_IS_R   10
 
#define FS_IS_X   11
 
#define FS_IS_FILE   12
 
#define FS_IS_DIR   13
 
#define FS_IS_LINK   14
 
#define FS_EXISTS   15
 
#define FS_LSTAT   16
 
#define FS_STAT   17
 
#define FS_LPERMS   18
 

Typedefs

typedef size_t php_stat_len
 

Functions

 PHP_RINIT_FUNCTION (filestat)
 
 PHP_RSHUTDOWN_FUNCTION (filestat)
 
PHPAPI void php_clear_stat_cache (bool clear_realpath_cache, const char *filename, size_t filename_len)
 
PHPAPI void php_stat (zend_string *filename, int type, zval *return_value)
 

Macro Definition Documentation

◆ FS_ATIME

#define FS_ATIME   5

Definition at line 52 of file php_filestat.h.

◆ FS_CTIME

#define FS_CTIME   7

Definition at line 54 of file php_filestat.h.

◆ FS_EXISTS

#define FS_EXISTS   15

Definition at line 62 of file php_filestat.h.

◆ FS_GROUP

#define FS_GROUP   4

Definition at line 51 of file php_filestat.h.

◆ FS_INODE

#define FS_INODE   1

Definition at line 48 of file php_filestat.h.

◆ FS_IS_DIR

#define FS_IS_DIR   13

Definition at line 60 of file php_filestat.h.

◆ FS_IS_FILE

#define FS_IS_FILE   12

Definition at line 59 of file php_filestat.h.

◆ FS_IS_LINK

#define FS_IS_LINK   14

Definition at line 61 of file php_filestat.h.

◆ FS_IS_R

#define FS_IS_R   10

Definition at line 57 of file php_filestat.h.

◆ FS_IS_W

#define FS_IS_W   9

Definition at line 56 of file php_filestat.h.

◆ FS_IS_X

#define FS_IS_X   11

Definition at line 58 of file php_filestat.h.

◆ FS_LPERMS

#define FS_LPERMS   18

Definition at line 65 of file php_filestat.h.

◆ FS_LSTAT

#define FS_LSTAT   16

Definition at line 63 of file php_filestat.h.

◆ FS_MTIME

#define FS_MTIME   6

Definition at line 53 of file php_filestat.h.

◆ FS_OWNER

#define FS_OWNER   3

Definition at line 50 of file php_filestat.h.

◆ FS_PERMS

#define FS_PERMS   0

Definition at line 47 of file php_filestat.h.

◆ FS_SIZE

#define FS_SIZE   2

Definition at line 49 of file php_filestat.h.

◆ FS_STAT

#define FS_STAT   17

Definition at line 64 of file php_filestat.h.

◆ FS_TYPE

#define FS_TYPE   8

Definition at line 55 of file php_filestat.h.

Typedef Documentation

◆ php_stat_len

typedef size_t php_stat_len

Definition at line 41 of file php_filestat.h.

Function Documentation

◆ php_clear_stat_cache()

PHPAPI void php_clear_stat_cache ( bool clear_realpath_cache,
const char * filename,
size_t filename_len )

Definition at line 697 of file filestat.c.

◆ PHP_RINIT_FUNCTION()

PHP_RINIT_FUNCTION ( filestat )

◆ PHP_RSHUTDOWN_FUNCTION()

PHP_RSHUTDOWN_FUNCTION ( filestat )

◆ php_stat()

PHPAPI void php_stat ( zend_string * filename,
int type,
zval * return_value )

Definition at line 743 of file filestat.c.