If you are writing code from scratch (which I get the impression from your other posts), and if it is for a game, then just use the fopen family of routines for maximum portability. You may someday wish to port your code to even more primitive systems, like cell phones, GBA, etc, so you are better off using the most ubiquitous APIs.
Dan East