Currently when working with file handles / descriptors I have observed the following behaviour.
Just thinking this could greatly simplify some code I have to write
- I open a file with fopen()
- the File Descriptor is 5
- I close the file with fclose()
- I open a new file with fopen()
- I receive a File Descriptor of 5
Just thinking this could greatly simplify some code I have to write