Re: [dev] [PATCH] Change an eprintf to a die to stop child from running its own slideshow

From: Kamil Cholewiński <>
Date: Thu, 14 Jan 2016 11:01:16 +0100

> Otherwise we can use the approach in sbase which is to have eprintf()
> be equivalent to die() and weprintf() for just the warning version.

TBH I would find this behavior extremely confusing. The established
conventions seem to be:

printf - format string and write to stdout
sprintf - format string and put result in buffer
fprintf - format string and write to fd
[... snip 47 other variants ...]

Contrast with:

eprintf - format string and write to stderr and exit

"printf" implies formatting / printing and nothing else. Using one of
"die", "err", etc would be much clearer.

Received on Thu Jan 14 2016 - 11:01:16 CET

This archive was generated by hypermail 2.3.0 : Thu Jan 14 2016 - 11:12:11 CET