openOpens a file | |||||||||||||||||||
Arguments
Return ValueIf the open succeeded, the file descriptor is returned.-1 is returned in the event of failure. ExplanationThe file indicated by devname is opened and its file descriptor is returned.flag can be set to one of the following macros:
See Alsoclose() |