Logo F2FInterview

Unix OS Interview Questions

Q   |   QA

1. open(pathname,flag,mode) - open file
2. creat(pathname,mode) - create file
3. close(filedes) - close an open file
4. read(filedes,buffer,bytes) - read data from an open file
5. write(filedes,buffer,bytes) - write data to an open file
6. lseek(filedes,offset,from) - position an open file
7. dup(filedes) - duplicate an existing file descriptor
8. dup2(oldfd,newfd) - duplicate to a desired file descriptor
9. fcntl(filedes,cmd,arg) - change properties of an open file
10. ioctl(filedes,request,arg) - change the behaviour of an open file
11. The difference between fcntl anf ioctl is that the former is intended for any open file, while the latter is for device-specific operations. 

In order to link this F2FInterview's page as Reference on your website or Blog, click on below text area and pres (CTRL-C) to copy the code in clipboard or right click then copy the following lines after that paste into your website or Blog.

Get Reference Link To This Page: (copy below code by (CTRL-C) and paste into your website or Blog)
HTML Rendering of above code: