#include struct flock { short l_type; short l_whence; off_t l_start; off_t l_len; pid_t l_pid; }; /* POSIX(1) */