There is such code:
void initializeSuplies(int paper) { char paperBuffer[10]; snprintf(paperBuffer, 10, "%d", paper); setenv("PAPER", paperBuffer, 1); } I want to understand what is being recorded and how? Are environment variables used only in unix?
You can by points:
- The initializeSuplies () function is called.
- An array of paperBuffer is created.
- ?
- ?