3.23. s3d_open_file

#include <s3d.h>

int s3d_open_file( char *fname, char **pointer );

This opens the file fname, setting *pointer to it's memory position. the function will return the size of buffer. you can free() the pointer when you're finished.