Question
Download Solution PDFWhich of the following do not qualify as System calls for communication for Windows Linux OS?
Answer (Detailed Solution Below)
Detailed Solution
Download Solution PDFThe correct answer is Option 3) WriteConsole()/write().
Key Points
- System calls are low-level APIs provided by the operating system to perform operations like process control, file handling, and interprocess communication (IPC).
- WriteConsole() (Windows) and write() (Linux) are system calls used for I/O operations – specifically writing output to the console or terminal, not for communication between processes.
- On the other hand, options like pipe(), mmap(), and shmget() are classic IPC (Inter-Process Communication) system calls.
Additional Information
- Option 1 – MapViewOfFile()/mmap(): ✅ Used for memory-mapped file communication between processes.
- Option 2 – CreatePipe()/pipe(): ✅ Used to create pipes for unidirectional interprocess communication.
- Option 4 – CreateFileMapping()/shmget(): ✅ Used for shared memory allocation between processes.
Conclusion: WriteConsole()/write() are I/O operations, not IPC mechanisms, hence they do not qualify as system calls for communication.
Last updated on Nov 25, 2024
-> BELTRON Programmer 2024 Notification has been released on the official website.
-> The Bihar State Electronics Development Corporation Limited (BELTRON) has announced a recruitment drive for Programmer positions on a contractual basis.
-> Specific vacancy details will be shared separately.
-> Interested candidates can apply online from November 11, 2024, to December 10, 2024.
-> The Minimum age of the candidates should be 21 years and maximum age should be 59 year of age.