Open (system Call) - Open Call Arguments

Open Call Arguments

  1. The pathname to the file,
  2. The kind of access requested on the file (read, write, append etc.),
  3. The initial file permission is requested using the third argument called mode. This argument is relevant only when a new file is being created.

After using the file, the process should close the file using close call, which takes the file descriptor of the file to be closed. Some filesystems include a disposition to permit releasing the file.

Some computer languages include run-time libraries which include additional functionality for particular filesystems. The open (or some auxiliary routine) may include specifications for key size, record size, connection speed. Some open routines include specification of the program code to be executed in the event of an error.

Read more about this topic:  Open (system Call)

Famous quotes containing the words open, call and/or arguments:

    “This is peace with dignity. This is peace with commitment. This is our gift to our peoples and the generations to come.... It will be real, as we open our hearts and minds to each other.”
    —Bin Talal Hussein (b. 1935)

    “When we are in love, the sentiment is too great to be contained whole within us; it radiates out to our beloved, finds in her a surface which stops it, forces it to return to its point of departure, and it is this rebound of our own tenderness which we call the other’s affection and which charms us more than when it first went out because we do not see that it comes from us.”
    —Marcel Proust (1871–1922)

    “The second [of Zeno’s arguments about motion] is the one called “Achilles.” This is to the effect that the slowest as it runs will never be caught by the quickest. For the pursuer must first reach the point from which the pursued departed, so that the slower must always be some distance in front.”
    —Zeno Of Elea (c. 490–430 B.C.)