Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jun 2009 16:30:30 -0500
From:      Martin McCormick <martin@dc.cis.okstate.edu>
To:        freebsd-questions@freebsd.org
Subject:   Control-Z the Sleep Signal
Message-ID:  <200906092130.n59LUU7E000141@dc.cis.okstate.edu>

next in thread | raw e-mail | index | archive | help
Which signal is sent to a process when one types ^z or
Control-z? It appears to be SIGSTOP and according to signal's
man page, this is one signal you can't catch.

	I have an application with a signal handler I wrote and
I am trying to discourage folks typing CTRL-Z if it hangs
because that does make it seem to go away but it is really still
hanging around and any lock files it created are not removed.
The effect is about as bad as if it crashed and left lock files.
Normally, CTRL-c makes it remove the locks before exiting.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Telecommunications Services Group



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906092130.n59LUU7E000141>