Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!harpo!seismo!hao!hplabs!sri-unix!dbj.rice@rand-relay From: dbj.rice%rand-relay@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: Re: Disabling core dumps Message-ID: <13026@sri-arpa.UUCP> Date: Wed, 26-Oct-83 21:08:43 EST Article-I.D.: sri-arpa.13026 Posted: Wed Oct 26 21:08:43 1983 Date-Received: Mon, 31-Oct-83 22:08:07 EST Lines: 30 From: Dave Johnson On 4.1, the easiest way to disable core dumps is to use vlimit() to set the maximum size of core dumps allowed to zero. You can do this from the C shell with the command limit coredumpsize 0 or from within the program with #include vlimit(LIM_CORE, 0); Once you do this, you will never see another core dump from this process or any of its children. You can undo this effect with either unlimit coredumpsize from the shell, or vlimit(LIM_CORE, INFINITY); from the program. With the core dump disabled in this way, the shell still prints the "Segmentation Fault" message, but, of course, doesn't add "(core dumped)". Dave Johnson Dept. of Math Science Rice University dbj.rice@Rand-Relay