Open ryansturmer opened 11 years ago
static? no way man. think about thread safety.
Embedded! No threads!
Well, usually. Either way, I guess a better way of putting it is "context retaining" rather than "static"
I agree with @fogleman. If you're going to add this, just make a small struct as another input param for your context. That won't harm anything and makes thread safety a nice feature for those who want it.
It would be nice to have an ls() like function that would list the files in a directory. Maybe something with a static component so you could call it over and over on a directory, and it would give you successive new paths every time.