What are the Unix system calls for I/O?

Answer Posted / havefun

read and write are the most commonly used system calls for
doing I/O.
Apart from them you can use lseek() to read from a specific
offset from a file.

In general, if you want to find how system calls work,
please visit my blog
http://havefunwhileulearn.blogspot.com/2010/03/systems-
calls.html

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between command and utility in unix?

484


Explain the mount system calls?

561


Explain the difference between command and utility in unix?

488


The very first process created by the kernel in unix is?

466


Name the command which is used to execute system calls from exe?

506






What is the first process created by the kernel in unix?

478


Explain the mount and unmount system calls?

522


Explain the unmount system calls?

525


Explain c program to implement the unix or linux command to implement ls -l >output.txt?

448


What is the fork() system call?

541


How to protect a process from others to kill?

531


What are the possible return values of kill() system call?

494


Tell me how to protect a process from others to kill?

502