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

Go to the source code of this file.

Macros

#define LOCK_SH   1
 
#define LOCK_EX   2
 
#define LOCK_NB   4
 
#define LOCK_UN   8
 
#define PHP_LOCK_SH   1
 
#define PHP_LOCK_EX   2
 
#define PHP_LOCK_UN   3
 
#define PHP_LOCK_NB   4
 

Functions

PHPAPI int php_flock (int fd, int operation)
 
PHPAPI int flock (int fd, int operation)
 

Macro Definition Documentation

◆ LOCK_EX

#define LOCK_EX   2

Definition at line 39 of file flock_compat.h.

◆ LOCK_NB

#define LOCK_NB   4

Definition at line 40 of file flock_compat.h.

◆ LOCK_SH

#define LOCK_SH   1

Definition at line 38 of file flock_compat.h.

◆ LOCK_UN

#define LOCK_UN   8

Definition at line 41 of file flock_compat.h.

◆ PHP_LOCK_EX

#define PHP_LOCK_EX   2

Definition at line 47 of file flock_compat.h.

◆ PHP_LOCK_NB

#define PHP_LOCK_NB   4

Definition at line 49 of file flock_compat.h.

◆ PHP_LOCK_SH

#define PHP_LOCK_SH   1

Definition at line 46 of file flock_compat.h.

◆ PHP_LOCK_UN

#define PHP_LOCK_UN   3

Definition at line 48 of file flock_compat.h.

Function Documentation

◆ flock()

PHPAPI int flock ( int fd,
int operation )

Definition at line 22 of file flock_compat.c.

◆ php_flock()

PHPAPI int php_flock ( int fd,
int operation )

Definition at line 28 of file flock_compat.c.