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:
“I perceive I have not really understood any thing, not a single
object, and that no man ever can,
Nature here in sight of the sea taking advantage of me to dart upon me and sting me,
Because I have dared to open my mouth to sing at all.”
—Walt Whitman (18191892)
“I call the years when our children are between six and twelve the golden years, not because everythings perfect . . . but because the kids are capable and independent. . . . Theyre becoming fascinating human beings who continually astound us and make us laugh. And they build our self-esteem. They still adore us for the most part, not yet having reached that age of thinking everything we do is dumb, old-fashioned and irrelevant.”
—Vicki Lansky (20th century)
“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 (19031950)