void test_file_io (void) { const char *filename = "file_io.dat" ; file_open_test (filename) ; file_read_write_test (filename) ; file_seek_with_offset_test (filename) ; file_truncate_test (filename) ; unlink (filename) ; } /* main */
int main (void) { const char *filename = "file_io.dat" ; file_open_test (filename) ; file_read_write_test (filename) ; file_truncate_test (filename) ; unlink (filename) ; return 0 ; } /* main */