Slide 38 of 91
Notes:
Fcntl - 4 different functions in 1
2) File descriptor flags - only 1 - FD_CLOEXEC - file is closed across an exec
3) File status flags - O_RDONLY, O_WRONLY, O_RDWR, O_APPEND,
O_CREAT, O_TRUNC, O_EXCL, O_NONBLOCK
-set: only O_APPEND and O_NONBLOCK can be changed
4) Record or range locking or byte locking