File pointer & File descriptor
-
What is difference between File pointer and File Descriptor?
-
What is difference between File pointer and File Descriptor?
a file descriptor is an unique number managed by the system itself to identify the file opened. in your code, you don't get it. you get a FILE* (file pointer) to a copy of the opened file mounted in memory you actually never work directly on the hard disk file, but on its copy into memory
[VisualCalc][Flags Beginner's Guide][CommDialogs new! ] | [Forums Guidelines]
-
a file descriptor is an unique number managed by the system itself to identify the file opened. in your code, you don't get it. you get a FILE* (file pointer) to a copy of the opened file mounted in memory you actually never work directly on the hard disk file, but on its copy into memory
[VisualCalc][Flags Beginner's Guide][CommDialogs new! ] | [Forums Guidelines]
Thank you toxcct