Home
last modified time | relevance | path

Searched refs:flck (Results 1 – 1 of 1) sorted by relevance

/PHP-8.0/ext/standard/
H A Dflock_compat.c31 struct flock flck; in php_flock() local
34 flck.l_start = flck.l_len = 0; in php_flock()
35 flck.l_whence = SEEK_SET; in php_flock()
38 flck.l_type = F_RDLCK; in php_flock()
40 flck.l_type = F_WRLCK; in php_flock()
42 flck.l_type = F_UNLCK; in php_flock()
48 ret = fcntl(fd, operation & LOCK_NB ? F_SETLK : F_SETLKW, &flck); in php_flock()

Completed in 6 milliseconds