/usr/lib/grass64/include/grass/lock.h is in grass-dev 6.4.3-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2
int lock_file(char *, int); int unlock_file(char *);