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:

    Some collaboration has to take place in the mind between the woman and the man before the art of creation can be accomplished. Some marriage of opposites has to be consummated. The whole of the mind must lie wide open if we are to get the sense that the writer is communicating his experience with perfect fullness.
    Virginia Woolf (1882–1941)

    For what other great nation has a god so near to it as the LORD our God is whenever we call to him?
    Bible: Hebrew, Deuteronomy 4:7.

    Because a person is born the subject of a given state, you deny the sovereignty of the people? How about the child of Cuban slaves who is born a slave, is that an argument for slavery? The one is a fact as well as the other. Why then, if you use legal arguments in the one case, you don’t in the other?
    Franz Grillparzer (1791–1872)