Report question

Question: fcntl, lockf, which is better to use for file locking?