6 ms·
Thank you, that bit was very interesting. I like the idea for single threaded applications of having argv0 be a global.
by g82918 7y ago
Thank you, that bit was very interesting. I like the idea for single threaded applications of having argv0 be a global.
- sherincall 7y agoDoesn't have to be single-threaded even. Main writes the pointer at the start, and no one else is going to change it, just read from it.