Program to find the day of the week for a given date
1.0 Day of Week The Gregorian calendar was adopted in 1582. The formula to find the day of the week for any date after 1582 is, d = N +…
1.0 Day of Week The Gregorian calendar was adopted in 1582. The formula to find the day of the week for any date after 1582 is, d = N +…
The select system call allows the calling process to monitor sets of file descriptors for readiness for non-blocking I/O operations. After the file descriptors ready for I/O are returned, the…
Socket programming involves development of programs for communication between processes running on remote hosts connected over the network. The User Datagram Protocol (UDP) is a core commnication protocol for transmission…
Socket programming involves development of programs for communication between processes running on remote hosts connected over the network. The Transmission Control Protocol (TCP) is for connection-oriented reliable communication between processes…
Signals A signal is a notification delivered to a process by the kernel. A signal indicates that an event has occurred and the process must take note of it. Signals…
1.0 last and lastb The last command gives a chronological list of user logins in a Linux system for a period of time. The lastb commands gives a similar list…
Shared Memory Shared memory is an inter process communication (IPC) mechanism in Linux and other UNIX-like systems. Based on input parameters, the kernel provides a (shared) memory segment to the…
Shared Memory Shared memory is one of the three inter process communication (IPC) mechanisms available under Linux and other Unix-like systems. The other two IPC mechanisms are the message queues…
Queue A queue is something we see often in our daily lives. People stand in a queue to get into a bus, to get food in a buffet, buy tickets…