dlopen and friends are used to handle dynamic libraries.
If you want to handle a simple file (open, create, read, write, close ...) the fopen and friends (fputc, fputs, fprintf, fscanf, fflush, fclose ...) are OK.
See man pages for syntax and information (eg 'man fopen')
|