bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printf()


From: James Youngman
Subject: Re: printf()
Date: Wed, 12 Apr 2006 16:06:08 +0100

On 4/12/06, chsh_xiao <address@hidden> wrote:
> HI,Sir,
> I meet a problem.When I print a graphical data packet encapsulated in TCP 
> packet with a data capture program written by myself,my Linux Core 5 OS 
> cann't print correct character . I use "printf()" function . When I shield 
> "printf()" , my OS can do well. I don't know why ! Help me,please ! Thanks !
> Please look at test figures in the E-mail accessories.
>
> c.s xiao
> 12/04/2006

The printf() library function is not part of coreutils.  You need to
look elsewhere for help.  You will find some guidance at
http://www.catb.org/~esr/faqs/smart-questions.html.

But you are printing arbitrary binary data as if it were
human-readable text.  What did you _expect_ to see?  If you directly
send the binary data within an image file to a terminal device (e.g.
with cat) you would get a similar result.

James.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]