LWN.net Logo

It's a comma operator.

It's a comma operator.

Posted Apr 15, 2012 23:47 UTC (Sun) by alison (✭ supporter ✭, #63752)
In reply to: It's a comma operator. by xoddam
Parent article: Linux kernel design patterns - part 1

Posted Jun 11, 2009 0:56 UTC (Thu) by xoddam notes
"the infamous http://en.wikipedia.org/wiki/Comma_operator".

Humorously, I just had a look at the Wikipedia article. "Huh, I thought I understood the comma operator!" Copied the code in question out, compiled and tested it, and sure enough the latest revision to the article was erroneous. So yeah, I guess the Comma Operator causes some confusion!

-- Alison


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds