On 08/07/2009 01:27 PM, Adam Sampson wrote:
On Fri, Aug 07, 2009 at 12:58:13PM +0200, Paolo Bonzini wrote:Can you suggest a replacement? Would atoi be okay?atoi certainly exists in avr-libc, so that'd be OK for me. (Doesn't it use fopen because it wants to see if the file exists afterwards, though?)
Yes, I was thinking of "return atoi(argv[1]);" and check the exit status. Paolo
