|
From: Erik W. <om...@te...> - 2003-04-28 22:35:38
|
I'm trying to add various bits of debugging to uml_net, and I'm finding
that there are at least 3 methods of outputting strings, and only one of
them seems to work.
The first is printf/fprintf, which never seems to do anything (though the
only existing cases are bad failure modes).
The second is the struct output with write_output(), which writes an
integer length and then the string itself. This doesn't seem to do
anything either.
The third method, the only one that seems to work, is done by constructing
a message with an iov and using sendmsg().
Is this lack of consistency intentional (i.e. I'm missing something), or
is there something wrong here that needs to be corrected somehow, i.e. by
moving around the output methods and rewriting the various cases to be
consistent? If so, I'm willing to do the necessary work in order to make
it sane <g>
Erik Walthinsen <om...@te...> - System Administrator
__
/ \ GStreamer - The only way to stream!
| | M E G A ***** http://gstreamer.net/ *****
_\ /_
|