Re: reading /proc files larger than one buffer

From: Don Cohen (don-temp5298413@isis.cs3-inc.com)
Date: Sat Sep 28 2002 - 16:05:07 EST


> There is a new seq_xxx API that covers this quite well... the

Where can I find code or doc for this?

> documentation should be updated to include that, especially. seq_xxx
> should take care of a large number of complex or potentially-large
> procfs output.
>
> Any change you would be interested in updating the docs? ;-)
(you mean chance?)

I'd prefer to have the code updated so the current doc is correct.
However, if updating doc is much easier or faster then I suggest
adding that one line as something else you should do in your read
function.
BTW there were other things I found confusing about that doc, and I'd
be happy to suggest other improvements to someone who can make them.
Wouldn't it be better, though, for the people who write the code to
write doc instead of someone like me who is only trying to hallucinate
intent from the code? I'd be much happier to review doc written by
the author of the code.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Sep 30 2002 - 22:00:38 EST