[so] Probleme de scriere la stderr pe windows

Andrei Stefanescu andreistef at gmail.com
Sun Apr 6 18:37:13 EEST 2008


Cand deschizi fisierul cu CreateFile, foloseste ca parametrul al 3-lea:
FILE_SHARE_READ | FILE_SHARE_WRITE, intrucat si stdout si stderr sunt
redirectate in acelasi fisier.

2008/4/6 Tiugan Radu <tiuganradu at yahoo.com>:

> Am folosit fprintf pentru scrierea mesajului de eroare. In cazul standard
> mesajul este afisat, dar daca stderr este redirectionat in fisier atunci nu
> se scrie nimik. Are cineva idee care ar putea fi problema?
>
> ------------------------------
> You rock. That's why Blockbuster's offering you one month of Blockbuster
> Total Access<http://us.rd.yahoo.com/evt=47523/*http://tc.deals.yahoo.com/tc/blockbuster/text5.com>,
> No Cost.
> _______________________________________________
> so mailing list
> so at cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/so/attachments/20080406/9c16c793/attachment.html 


More information about the so mailing list