Re: [dev] How to monitor battery status

From: Connor Lane Smith <cls_AT_lubutu.com>
Date: Mon, 20 Jun 2011 18:15:01 +0100

On 20 June 2011 18:05, Hiltjo Posthuma <hiltjo_AT_codemadness.org> wrote:
> getline / getdelim (re)allocates buffers though. But yes a custom
> function with fgets would be more compatible.

My point was that this is unnecessary: is your screen able to display
more than, say, 8192 characters (a common value for BUFSIZ) on a
single line? And even if so, why are you piping an essay into your
status bar anyway?

cls
Received on Mon Jun 20 2011 - 19:15:01 CEST

This archive was generated by hypermail 2.2.0 : Mon Jun 20 2011 - 19:24:02 CEST