[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

segmentation violation with fork





When I try to fork a process on a SUN-4 compiling in akcl something like:

(Clines
%  int frk()
%  {
%     int pid;
%    
%     pid = fork();
%     return pid;
%  }
)

(defentry frk () (int frk))



I get a stack segmentation violation, and a core dump.


vargasje@midway.ece.scarolina.edu