Re: [dev] [dwmstatus] Mail counter

From: Christoph Lohmann <20h_AT_r-36.net>
Date: Wed, 26 Dec 2012 08:29:24 +0100

Greetings.

On Wed, 26 Dec 2012 08:29:24 +0100 Chris Hall <followingthepath_AT_gmail.com> wrote:
> On Sat, Dec 22, 2012 at 9:22 AM, Kurt Van Dijck <kurt.van.dijck_AT_eia.be> wrote:
> > b) man 3 asprintf
> > will eliminate 1/3 of your code
>
> afaik asprintf is a gnu extension and isn't posix,
> although it seems that both uclib and musl support it.

That’s the reason why smprintf() does not use asprintf(). Maybe as‐
printf() will be added to some C standard which is not GNU, then sm‐
printf() could be replaced.


Sincerely,

Christoph Lohmann
Received on Wed Dec 26 2012 - 08:29:24 CET

This archive was generated by hypermail 2.3.0 : Wed Dec 26 2012 - 08:36:04 CET