226k views
2 votes
Explain the purpose of the open() and close() operations.

User Cpatrick
by
4.2k points

1 Answer

6 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 Gbru
by
4.7k points