In message <[email protected]>
          Ronald <[email protected]> wrote:

> archive.c: In function 'atouch':
> archive.c:98: warning: ignoring return value of 'write', declared with
>  attribute warn_unused_result
> 98:   write(fd, ARMAG, SARMAG);
>       }

This means the following : write() returns the number of items it has
actually written.  This might be less than what you've asked so not
checking this means that it is not bullet proof code.

John.
-- 
John Tytgat, in his comfy chair at home                                 BASS
[email protected]                             ARM powered, RISC OS driven

_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

Reply via email to