Sharing status information between functions. (opens in new tab)
My high level problem is that I want to extend a very large package to be able to have my own code process some file requests, such as fopen(), fread() and fclose(). I decided to map fopen() to cpfopen() and process the request that way. The first step was easy; I changed fopen #define fopen(a,b) … Continue reading Sharing status information between functions. →
Read the original article