Ø open(pathname,flag,mode) - open file
Ø creat(pathname,mode) - create file
Ø close(filedes) - close an open file
Ø read(filedes,buffer,bytes) - read data from an open file
Ø write(filedes,buffer,bytes) - write data to an open file
Ø lseek(filedes,offset,from) - position an open file
Ø dup(filedes) - duplicate an existing file descriptor
No comments:
Post a Comment