Home
last modified time | relevance | path

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

/PHP-7.0/ext/standard/
H A Dflock_compat.c50 struct flock flck; in php_flock() local
53 flck.l_start = flck.l_len = 0; in php_flock()
54 flck.l_whence = SEEK_SET; in php_flock()
57 flck.l_type = F_RDLCK; in php_flock()
59 flck.l_type = F_WRLCK; in php_flock()
61 flck.l_type = F_UNLCK; in php_flock()
67 ret = fcntl(fd, operation & LOCK_NB ? F_SETLK : F_SETLKW, &flck); in php_flock()

Completed in 6 milliseconds