The operational constant of the flock() function that opens the file with an exclusive lock for writing is the ____.

A. LOCK_EX
B. LOCK_SH
C. LOCK_NB
D. LOCK_UN


Answer: A

Computer Science & Information Technology

You might also like to view...

Which of the following is not one of the steps involved to carry out a selection sort which will sort an array in ascending order?

a. on the first pass, the smallest element is located b. on the first pass, the smallest element is swapped with the first element in the array c. on the first pass, the smallest element is swapped with the last element in the array d. on the second pass, the second-smallest element is located

Computer Science & Information Technology

Word processing software can help create the visual backdrop for speeches, lectures, and demonstrations.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

What is the difference between a scenario and a use case? When do you use each construct?

What will be an ideal response?

Computer Science & Information Technology

Technical editors do not specifically address grammatical and spelling errors

Indicate whether the statement is true or false

Computer Science & Information Technology