Explain what are the unix system calls for i/o?



Explain what are the unix system calls for i/o?..

Answer / Sandip Kumar

In Unix, system calls are used to access the operating system services. For Input/Output operations, some common system calls include: read() - reads data from a file into a buffer, write() - writes data from a buffer to a file, open() - opens an existing file or creates a new one, close() - closes an open file, lseek() - changes the position of the file pointer for I/O operations.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix General Interview Questions

What is delayed write in unix?

1 Answers  


Differentiate swapping and paging.

1 Answers  


List some of the frequent shells used in unix along with their indicators?

1 Answers  


What is a parent directory in unix?

1 Answers  


How the Kernel handles the fork() system call in traditional Unix and in the System V Unix, while swapping?

1 Answers  


How to list directories in unix?

1 Answers  


List a few significant features of unix?

2 Answers  


What is unix structure?

1 Answers  


What is a filter in unix? Give an example.

1 Answers  


What does "bulk loading of a table" mean? Can you describe advantages or disadvantages of using these features?

2 Answers   Accenture,


What do you mean by unix operating system?

1 Answers  


What does $? Mean in unix?

1 Answers  


Categories