what does two semicolns ';;' do



I am looking at some code which process an uploaded file and it has
loops like:

for(;;){ // for([two semicolons){

what is the function of the two semicolons? loop until break?

I've tried to google it but the text filter seems to remove the
semicolons.
.



Relevant Pages

  • Re: role of semicolon
    ... > In addition to terminating statements and declarations, semicolons are ... I can't believe I forgot about 'for' loops. ...
    (comp.lang.c)
  • Re: what does two semicolns ;; do
    ... loops like: ... what is the function of the two semicolons? ... I've tried to google it but the text filter seems to remove the ... yes, that's an infinite loop ...
    (comp.lang.php)