core files under SV

Doug Gwyn gwyn at smoke.BRL.MIL
Thu Nov 16 10:52:40 AEST 1989


In article <MRD.89Nov15011304 at image.clarkson.edu> mrd at sun.soe.clarkson.edu (Michael DeCorte) writes:
>There has got to be a little function I can call that will generate a
>core file of my process but I sure can't find it in sections 2 or 3.
>Anybody know what it is?
>NOTE I want to generate a core file but NOT exit.  Yup I just want to
>go along on my merry way.

I could say all sorts of disparaging things about people who think
UNIX would have a single function that performs a particular action
not of general utilit, but I won't :-)

	if ( fork() == 0 )
		abort();



More information about the Comp.unix.questions mailing list