[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c2024819-f054-9b70-2b2c-582d4a9db061@suse.com>
Date: Fri, 4 Nov 2016 13:19:08 +0100
From: Michal Marek <mmarek@...e.com>
To: SF Markus Elfring <elfring@...rs.sourceforge.net>,
linux-kbuild@...r.kernel.org
Cc: Masahiro Yamada <yamada.masahiro@...ionext.com>,
LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: Re: scripts/basic/bin2c: Complete error handling in main()
On 2016-11-03 20:48, SF Markus Elfring wrote:
>> You could define an xprintf() macro that checks if the return value
>> is < 0 and simply calls perror() and exit(1) in such case.
>
> Does such a macro belong to any general header file from the Linux
> software library?
No.
Michal
Powered by blists - more mailing lists