Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Focus-Sun
[Top] [All Lists]

Sun Studio 11: C++ 5.8 Compiler

Subject: Sun Studio 11: C++ 5.8 Compiler
Date: 16 Apr 2007 01:22:07 -0000
As per the specifications the compiler should be based on C99. But i think it 
still does not handle the function call strtoll(). This issue did not arise 
with RHL 9.0

If it did the handling properly then the result of the program should not be 0.


/*Snippet of the Code */
#include<stdio.h>
#include<stdlib.h>

int main()
{
char *a = "89abcdef";
long long int c;
a[8] = '\0';
c = strtoll(a, NULL, 16); 
printf("the num is %8x", c); 
return 0;
}


My understanding of the OS, Platform (SPARC), ofcourse C is just of a beginner 
and am eager to learn, please provide supporting comments..


Thanks and Regards 

<Prev in Thread] Current Thread [Next in Thread>