Open Call Arguments
- The pathname to the file,
- The kind of access requested on the file (read, write, append etc.),
- 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:
“A temple, you know, was anciently an open place without a roof, whose walls served merely to shut out the world and direct the mind toward heaven; but a modern meeting-house shuts out the heavens, while it crowds the world into still closer quarters.”
—Henry David Thoreau (18171862)
“My feelings about my work are, on the whole, not unfriendly. Boundless modesty and what people call humility are virtues scarcely conducive to ones complacently dwelling upon ones own workparticularly when one lacks them.”
—Vladimir Nabokov (18991977)
“The second [of Zenos 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. 490430 B.C.)