Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

static in C

Name: Anonymous 2010-10-16 17:23

I can see why you would want static variables in functions but what's the point of static globals?

Name: Anonymous 2010-10-17 11:05

>>11
For instance, get_bit(), which I've had to deal with an actual collision between two different libraries that had functions named that.
I thought name mangling was supposed to avoid this. (Actual question, not trolling.)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List