[so] [SO][Tema3][Linux]Test

Uigres Sergiu uigres2 at gmail.com
Mon May 3 18:41:49 EEST 2010


Am gasit erori in test.c .....

secventa:
size_t read_val;
read (ram_fd, &read_val, 4);
printf("Error----: %lx \n",read_val);

afiseaza:
Error----: 2b4c00000000

(mentionez ca read_val se compara cu 0.... si se presupune ca e 0, dar nu e)
si astfel nu trec testul aferent....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/lurker/list/so.html/attachments/20100503/713384b3/attachment.htm>


More information about the so mailing list