This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: howto register process
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 11 Nov 2004 15:47:14 -0500
- Subject: Re: howto register process
- References: <87u0rwury2.fsf@zlatenlist.homelinux.net> <NUTMEGuOlvX6D96doCe000006ac@NUTMEG.CAM.ARTIMI.COM>
- Reply-to: cygwin at cygwin dot com
On Thu, Nov 11, 2004 at 08:05:07PM -0000, Dave Korn wrote:
>>kill() prints int STDERR the error message - it is not returned by it.
>
>That strikes me as very very wrong indeed for a library function. A
>quick scan through signal.cc doesn't seem to show anything in kill,
>kill0, or kill_worker, that would have that effect, though as always
>with C++, an awful lot of the detail can be hidden inside implied
>constructors or overloaded operators. Are you _quite_ sure you're
>calling cygwin's kill?
The only time that cygwin prints anything to stderr is when there is a
serious problem in the DLL. In most cases this causes the application
to die.
kill() is certainly not supposed to be printing "no such pid" type of
messages on stderr.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/