Re: [dev] Question about arg.h

From: Daniel Xu <dxu_AT_dxuuu.xyz>
Date: Fri, 25 Aug 2017 12:10:10 -0500

Hi Laslo,

Thanks for the clarification. I have to say it's definitely a different
experience getting used to suckless code.

Dan

On Thu, Aug 24, 2017, at 06:13 AM, Laslo Hunhold wrote:
> On Wed, 23 Aug 2017 20:28:12 -0500
> Daniel Xu <dxu_AT_dxuuu.xyz> wrote:
>
> Hey Daniel,
>
> > I'm currently familiarizing myself with various pieces of suckless
> > code. One thing keeps bothering me, though:
> >
> > What is EARGF() and ARGF() shorthand for? I can more or less tell what
> > they do but the best I can come up with is "Error arg flag" and "Arg
> > flag", respectively.
>
> "ARGF" means something like "flag argument", so to say it interprets
> the consecutive data as the flag argument depending on the context.
> The E-prefix just says that if that's not possible, it should nut just
> return NULL, but call a certain function (given in the argument) and
> then exit.
>
> With best regards
>
> Laslo
>
> --
> Laslo Hunhold <dev_AT_frign.de>
>
Received on Fri Aug 25 2017 - 19:10:10 CEST

This archive was generated by hypermail 2.3.0 : Fri Aug 25 2017 - 19:12:17 CEST