Strange for loop: for(;;){}

Hello,

i ahve been studying some examples on web and i saw this function:

for(;;) {

m1...

}

I am familiar whit FOR loops but i never saw one whit only ;; in brackets. Can some1 explain to me how that loop would behave and when would it exit?

Thanks in advance :D

http://stackoverflow.com/questions/4604500/use-of-for-in-a-c-sharp-application

I think this applies for C++ as well.

#define EVER (;;)

for EVER;

i saw this function:

Presumably it didn't have a smiley in it when you first saw it.