How to use slices ( like dynamic array ) in go language ?
An array has a fixed size. A slice, on the other hand, is a dynamically-sized, flexible view … Read more
An array has a fixed size. A slice, on the other hand, is a dynamically-sized, flexible view … Read more
The scandir() function scans the directory dirp, calling filter() on each directory entry. Entries for which filter() … Read more
As we seen in previous post “Understanding Very Minimal C Program and its execution in Ubuntu Linux” … Read more
Signals are a limited form of inter-process communication (IPC), typically used in Unix, Unix-like, and other POSIX-compliant … Read more
The file mode, stored in the st_mode field of the file attributes, contains two kinds of information: … Read more
In this simple C program, we demonstrate how to use Remove System call from C to delete … Read more
Sometime we need to monitor some directory or file for some changes in it and based on … Read more
Most of the times we downloaded some files from the internet, and we also see people provides … Read more
The strcat() function appends the src string to the dest string, overwriting the terminating null byte (‘\0’) … Read more
If you want to check whether certain file is present or not in your disk before proceeding … Read more