[Live-devel] printf

Ross Finlayson finlayson at live555.com
Wed Oct 18 10:31:18 PDT 2006


>Hello,
>          This might be a weird question, but to help me understand 
>the class traversing and program flow, is there a way I can pipe 
>fprintf debug statements to a file easy and cleanly? (FILE 
>*debugFile) - where would I declare this so I can get universal 
>access to this variable? Or is there a way to pipe fprintf to a file 
>without declaring a FILE* struct

Of course - just output to stdout, or stderr, and then redirect this 
to a file using the command shell.  (I assume that you're familiar 
with Unix-style I/O redirection; it works in the Windoze command 
shell also.)
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20061018/3c2000e0/attachment.html 


More information about the live-devel mailing list