[pso] [tema5][Linux]failed:Interrupted system call

Bogdan Harjoc harjoc at gmail.com
Mon Jun 5 01:17:25 EEST 2006


Salut,

On 6/4/06, Bogdan Ardeleanu <bogdanardeleanu at gmail.com> wrote:
>
>   failed:Interrupted system call
>
> Stie cineva sa-mi spuna cum as putea diminua aceasta eroare care se pare e
> intoarsa in *errno*?...
>
> Provine de la secventa de cod:
>
> *printf("failed: %s\n", strerror(errno));*
>

Pentru a diminua eroarea: errno--;

Pentru a elimina eroarea: zi-ne la care (al catelea) test iti da failed.

"Interrupted system call", la tema asta, iti da cand testul asteapta
un pachet care nu ajunge timp de 5 secunde. Probabil nu exista sau
nu e luata in considerare o regula pe-acolo.


Cele bune,
Bogdan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20060604/41ffb10b/attachment.htm


More information about the pso mailing list