C program to read file properties using stat() function
Stat system call in Linux return information about a file, in the buffer pointed to by buf. … Read more
Stat system call in Linux return information about a file, in the buffer pointed to by buf. … Read more
Stat() function in C is used to retrieve information about the file by accepting the filepath as … Read more
This code is tested on Ubuntu . You may need to twick the script if you use a … Read more
Creating a new thread is very similar to forking a new process, but there are differences. When … Read more
Spinlocks Spinlocks assume the data you are protecting is accessed in both interrupt-handlers and normal kernel code. … Read more
Besides the better readability, the code for mutex is smaller and slightly faster than the semaphore implementation. … Read more
Zombie process is the process which died immediately and whose parent didn’t cared to handled the status … Read more
If you need to get the mac address of certain wifi interface using C program, you can … Read more
Major distribution kernels set the default value of /proc/sys/vm/overcommit_memory to zero, which means that processes can request … Read more
In our previous post, we understood “What is Out of Memory Killer ?” In this post, we … Read more