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:

    Manuel showed her his open hand: “Look at this finger, how meager it seems, and this one even weaker, and this other one no stronger, and this one all by himself and on his own.”
    Then he made a fist: “But now, is it strong enough, big enough, solid enough? It seems so doesn’t it?”
    Jacques Roumain (1907–1945)

    ... it is an uneasy lot at best, to be what we call highly taught and yet not to enjoy: to be present at this great spectacle of life and never to be liberated from a small hungry shivering self—never to be fully possessed by the glory we behold, never to have our consciousness rapturously transformed into the vividness of a thought, the ardour of a passion, the energy of an action, but always to be scholarly and uninspired, ambitious and timid, scrupulous and dim-sighted.
    George Eliot [Mary Ann (or Marian)

    What can you do against the lunatic who is more intelligent than yourself, who gives your arguments a fair hearing and then simply persists in his lunacy.
    George Orwell (1903–1950)