File Functions

Silk Performer provides a number of functions to create, read, write, and delete files. For example, you can use these functions to read binary files and send them to a server.

When a file is created or opened, the corresponding function returns a handle that can be used as a reference to the file. Depending on the access options, data can be read from or written to any open file. Additional functions provide status information about a file, for example its size or whether it is currently open. Eventually each open file has to be closed.