#include <ts/ts.h>
Opens a file for reading or writing and returns a descriptor for accessing the file.
The current implementation cannot open a file for both reading and writing. See TSfopen Family for examples.