How do I `lock' a file?

  1. Use filelock()

  2. use lockfile()

  3. Use lockfd()

  4. use fcntl()


Correct Option: D

Find more quizzes: