339,837 views
13 votes
13 votes
Explain the purpose of the open() and close() operations.

User Polku
by
3.8k points

1 Answer

23 votes
23 votes

Answer:

The open() operation notifies the system that the named file is about to become active. The close() operation notifies the system that the named file is no longer in active use by the user who issued the close operation.

User Darryl Huffman
by
2.7k points