next up previous contents index
Next: 7.7.1 oskit_get_call_context: Get the Up: 7 OSKit File System Previous: 7.6.1 getfile: Get the

7.7 Dependencies on the Client Operating System

This section describes the interfaces which must be provided by the client operating system to the filesystem library.

These interfaces consist of:

oskit_get_call_context
Obtain information about client context.
fs_delay
Wait for a period of time to elapse.
fs_vprintf
Generate formatted output to stdout.
fs_vsprintf
Generate formatted output to a string.
fs_panic
Perform any cleanup and exit.
fs_gettime
Obtain the current time.
fs_tsleep
Wait for a wakeup on a channel or a timeout.
fs_wakeup
Awaken any threads waiting on a channel.
fs_malloc
Allocate memory.
fs_realloc
Resize a chunk of allocated memory.
fs_free
Free memory.

Default implementations of the fs_* functions are provided in liboskit_fs.





University of Utah Flux Research Group