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:

    It is open to question whether the highly individualized characters we find in Shakespeare are perhaps not detrimental to the dramatic effect. The human being disappears to the same degree as the individual emerges.
    Franz Grillparzer (1791–1872)

    Your hooves have stamped at the black margin of the wood,
    Even where horrible green parrots call and swing.
    My works are all stamped down into the sultry mud.
    William Butler Yeats (1865–1939)

    Yesterday the Electoral Commission decided not to go behind the papers filed with the Vice-President in the case of Florida.... I read the arguments in the Congressional Record and can’t see how lawyers can differ on the question. But the decision is by a strictly party vote—eight Republicans against seven Democrats! It shows the strength of party ties.
    Rutherford Birchard Hayes (1822–1893)