On Fri, 26 Feb 2010, fred wrote:

> Davide,
> 
> I have just tested this code:
> 
> #include <stdlib.h>
> #include <stdio.h>
> 
> int main(void)
> {
>   char num1[80], num2[80];
> 
>   printf("Enter first: ");
>   gets(num1);
>   printf("Enter second: ");
>   gets(num2);
>   printf("The sum is: %ld.", atoll(num1)+atoll(num2));
> 
>   return 0;
> }
> 
> On FreeBSD-4.11 (undefined reference to `atoll') and on FreeBSD-7.2 (OK).
> 
> It looks like FreeBSD-4.11 does not have this function indeed.

How old 4.11 is?


- Davide


_______________________________________________
xmail mailing list
[email protected]
http://xmailserver.org/mailman/listinfo/xmail

Reply via email to