C program to print files in current directory in reverse order
The scandir() function scans the directory dirp, calling filter() on each directory entry. Entries for which filter() … Read more
The scandir() function scans the directory dirp, calling filter() on each directory entry. Entries for which filter() … Read more
In this simple C program, we demonstrate how to use Remove System call from C to delete … Read more
The strcat() function appends the src string to the dest string, overwriting the terminating null byte (‘\0’) … Read more
If we want to see whether certain file exists or not before doing some operation like read/write … Read more
This program uses “stat” system call to read the file size. In this post, we demonstrate with … Read more
Following program shows a sample example of how we can use C macros __FILE__ , __func__ and … Read more
We hope this tutorial is of help. In case you have any other suggestions or questions, do … Read more
We hope this tutorial is of help. In case you have any other suggestions or questions, do … Read more
We hope this tutorial is of help. In case you have any other suggestions or questions, do … Read more