Re: procfs question

From: Phillip Susi
Date: Tue Mar 28 2006 - 11:12:48 EST


yenganti pradeep wrote:
length=sprintf(page,"Value %d",var++);
<snip>
Why is this three numbers increment?

Ummm... because you are incrementing it? var++ means increment var.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/