Table 1 A correspondence between POSIX and Standard C file access functions

POSIX       Standard C
----------------------
close       fclose
creat       fopen
dup2        freopen
lseek       fseek
open        fopen
tell        ftell
write       fwrite