This is just for fun. I'm not that good at programming, so if you notice any bugs please notify me.
gcc Examples/read_from_file.c -o read_from_filegcc Examples/write_to_file.c -o write_to_fileNFile *nf = nf_init(<filepath>, <mode>);nf_write_file(<NFile object>, <data to write>);The nf_write_file() function takes a NFile object and a string. This functions will write the string to the file.
const char *data = nf_read_file(<NFile objext>);The nf_read_file() function takes a NFile object. This function will return the contents of the file.
nf_create_file(<filepath>);The nf_create_file() function takes a filepath and creates a new file. This function will return 1 if the file could not be created.
nf_rename_file(<filepath>, <new_filepath>);The nf_rename_file() function takes the filepath and the new name. This function will return 1 if the file could not be renamed.
nf_delete_file(<filepath);The nf_delete_file() function takes the filepath and removes the file. This function will return 1 if the file could not be deleted.
nf_end(<NFile object>);