2012/5/25 Pete Batard <p...@akeo.ie>:
> On 2012.05.25 15:28, Yves Arrouye wrote:
>> <ludovic.rouss...@gmail.com>  wrote:
>>> I need a way to tell libusbx to use stdout (for every logs).
>>
>> If all logs go to stderr, can't you just redirect stderr to stout
>> (e.g. 2>1 in a shell command)?
>
> Before looking at introducing a way to use either of stderr or stdout,
> that's what I would suggest as well. Even outside of the shell, I think
> you can programmatically set stderr to point to stdout with
> fcntl(F_SETFD). Is that something you think you can use?

That may work. I will try.

Bye

-- 
 Dr. Ludovic Rousseau

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to