-displayfd outputting some garbage?

"Matt D." <[email protected]> Tue, 7 Feb 2017 19:46:41 -0500
Newsgroups gmane.os.cygwin.xfree
Message-ID <[email protected]>
I have an xinit script which outputs the display id to a file with the 
following option:

xinit .. -displayfd 3 3>$HOME/.display

This outputs correctly '0' but appends 0x00 and 0x0A. Why is it 
outputting a null byte and this 0x0A?


Matt D.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/