what is difference between file descriptor and fildes
c, linux
Solution
These are just parameter names. They both refer to file descriptor.
Read manual for those functions
man 2 write
man pwrite
Problem
What is fildes and in linux, what is the difference between file descriptor and fildes. For example, the below write deals with file descriptor ``` ssize_t write(int fd, const void *buf, size_t count); ``` Where as the below pwrite deals with fildes ``` ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset); ```