I have ported a c program to solaris.
When I run , it gives me segmentation fault error at line :-
memcpy ((char *)a_string ,(char *)0, MAX_READ ) ;
originally this was in reliant unix as :-
memcpy ( a_string , 0 , MAX_READ ) ;
Can somebody help me about this ?