Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH] pretty.c: add %z specifier.

From: Jeff King <hidden>
Date: 2016-06-15 22:44:24

On Thu, Mar 20, 2008 at 07:45:26PM -0500, Govind Salinas wrote:
This adds a %z format which prints out a null character.  This allows for
easier machine parsing of multiline data.  It is also necessary to use write
to print out the data since printf will terminate at a null.  That in turn
requires that an fflush be executed before the write to preserve the order
the data is printed.
How about using fwrite instead of write?

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help