Skip to main content

A.14 File Sharing

danger

This Reference Manual output has not been verified, and may contain omissions or errors. Report any problems on the tracking issue

Dynamic Semantics

1

It is not specified by the language whether the same external file can be associated with more than one file object. If such sharing is supported by the implementation, the following effects are defined:

2
  • Operations on one text file object do not affect the column, line, and page numbers of any other file object.
  • 3/1
  • This paragraph was deleted.{8652/0057}
  • 4
  • For direct and stream files, the current index is a property of each file object; an operation on one file object does not affect the current index of any other file object.
  • 5
  • For direct and stream files, the current size of the file is a property of the external file.
6

All other effects are identical.

Wording Changes from Ada 95

6.a/2

{8652/0057} Corrigendum: Removed the incorrect statement that the external files associated with the standard input, standard output, and standard error files are distinct.