Searched refs:F_LOCK (Results 1 – 3 of 3) sorted by relevance
/bionic/libc/include/bits/ |
D | lockf.h | 35 #define F_LOCK 1 macro
|
/bionic/libc/bionic/ |
D | lockf.cpp | 49 if (cmd == F_LOCK) { in lockf64()
|
/bionic/tests/ |
D | unistd_test.cpp | 876 ASSERT_EQ(0, lockf64(tf.fd, F_LOCK, file_size)); in TEST() 899 ASSERT_EQ(0, lockf64(tf.fd, F_LOCK, 0)); in TEST() 921 ASSERT_EQ(0, lockf64(tf.fd, F_LOCK, -file_size)); in TEST() 936 ASSERT_EQ(0, lockf64(tf.fd, F_LOCK, file_size)); in TEST() 963 ASSERT_EQ(0, lockf64(tf.fd, F_LOCK, file_size/2)); in TEST()
|