This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: howto register process


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]