Comment 9 for bug 875817

Revision history for this message
DAP (akadap) wrote :

"You can read it's code here to understand more if you're a bit confused still:
http://cgit.freedesktop.org/ConsoleKit/tree/tools/list-sessions.c"

Wow, 400 lines of code without a single comment.

The basic thing I'm missing is "Why?" Why does ConsoleKit exist? What function, in high level terms, does it perform? What is it good for?
Looking at source code only tells me "How". How it does what it does. But knowing it adds 3+4 and puts it in pointer 'Z' gives me no clue as to why. Someone who has intimate knowledge of how Linux works might be able to infer why it does that, but to the layman, even one who knows the 'C' programming language, it is opaque.