[so] [t4]comportare ciudata aio_write
cosminratiu at gmail.com
cosminratiu at gmail.com
Mon Dec 10 18:10:20 EET 2007
De aici cumva?
printf("Bytesareonread4[%x][%x][%x]\n",*(packet_buf+1500),*(packet_buf+1501),*(packet_buf+1502));
printf("BytesareonWRITE[%x][%x][%x]\n",*(data+1478),*(data+1479),*(data+1480));
:D.
On Dec 10, 2007 6:08 PM, Dragos Sbarlea <sbarlead at yahoo.com> wrote:
> Don't mind me, problema era din toal alta parte :)
>
> Dragos Dumitru Sbîrlea
> Facultatea de Automatica si Calculatoare
> Universitatea Politehnica din Bucuresti
>
>
> ----- Original Message ----
> From: Dragos Sbarlea <sbarlead at yahoo.com>
> To: so at cursuri.cs.pub.ro
> Sent: Monday, 10 December, 2007 5:33:54 PM
> Subject: [so] [t4]comportare ciudata aio_write
>
>
> Salut!
>
> In testarea temei 4 am ajus sa am urmatoarea problema: dau ca parametru
> functiei aio_write un vector in care pe pozitiile k, k+1 am niste valori
> diferite de 00. Verific asta prin afisare inainte de apel si dupa
> indeplinirea operatiei ( nu da eroare, am verificat cu aio_error ). Totusi,
> in fisier pe pozitiile k si k+1 apare 00 (in hexa :) ). Tot restul
> vectorului apare ok. Problema apare doar epntru vectori suficient de mari.
> Nu am resuit sa gasesc in manpages care este limita de lungime a vectorului
> pentru care aio_write functioneaza corect...
>
> Daca imi poate da cineva o idee de unde poate proveni comportamentul asta
> dubios, i-as fi recunosacator.
>
> Dragos Dumitru Sbîrlea
> Facultatea de Automatica si Calculatoare
> Universitatea Politehnica din Bucuresti
>
> ------------------------------
> Yahoo! Answers - Get better answers from someone who knows. Try it now<http://uk.answers.yahoo.com/;_ylc=X3oDMTEydmViNG02BF9TAzIxMTQ3MTcxOTAEc2VjA21haWwEc2xrA3RhZ2xpbmU>
> .
>
>
> ------------------------------
> Sent from Yahoo!<http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=51949/*http://uk.docs.yahoo.com/mail/winter07.html>- a smarter inbox.
>
> _______________________________________________
> 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/20071210/f1792920/attachment.html
More information about the so
mailing list