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:

    But let me open up my heart to you completely, my friends: if there were gods, how could I bear not being a god! Hence, there are no gods. I drew this conclusion, to be sure—but now it draws me.
    Friedrich Nietzsche (1844–1900)

    But who walks with Him? dares to take His arm,
    To slap Him on the shoulder, tweak His ear,
    Buy Him a Coca-Cola or a beer,
    Pooh-pooh His politics, call Him a fool?
    Gwendolyn Brooks (b. 1917)

    When I am convinced of any principle, it is only an idea which strikes more strongly upon me. When I give the preference to one set of arguments above another, I do nothing but decide from my feeling concerning the superiority of their influence.
    David Hume (1711–1776)