-displayfd outputting some garbage?

Matt D. matt@codespunk.com
Wed Feb 8 00:46:00 GMT 2017


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/



More information about the Cygwin-xfree mailing list