Computer File - Semantics

Semantics

Although the way programs manipulate files varies according to the operating system and file system involved, the following operations are typical:

  • Creating a file with a given name
  • Setting attributes that control operations on the file
  • Opening a file to use its contents
  • Reading or updating the contents
  • Committing updated contents to durable storage
  • Closing the file, thereby losing access until it is opened again

Read more about this topic:  Computer File