next up previous contents index
Next: 7.4.1 sync: Write this Up: 7 OSKit File System Previous: 7.3.6 lookupi: Lookup a

7.4 oskit_file: File Interface

   

The oskit_file COM interface defines an interface for operating on a file. The interface does not imply any per-open state; per-open methods are defined by the oskit_openfile COM interface.

The oskit_file COM interface inherits from the oskit_posixio COM interface, and has the following additional methods:

sync
Write this file's data and metadata to permanent storage.
datasync
Write this file's data to permanent storage.
access
Check accessibility of this file.
readlink
Read the contents of this symbolic link.
open
Create an open instance of this file.
getfs
Get the filesystem in which this file resides.

Additionally, an oskit_file object may export a oskit_absio COM interface; this may be determined by querying the object.





University of Utah Flux Research Group