This is the mail archive of the cygwin@cygwin.com 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]

Re: bug report - kill f || plea for help



----- Original Message -----
From: "Christopher Faylor" <cgf@redhat.com>
To: <cygwin@cygwin.com>
Sent: Sunday, March 18, 2001 1:41 PM
Subject: Re: bug report - kill f || plea for help


> On Sun, Mar 18, 2001 at 12:19:02PM +1100, Robert Collins wrote:
> >administrator@LIFELESSWKS ~
> >$ kill f 1924
> >bash: kill: f: no such pid
> >
>
> I don't understand.  Why would you expect 'f' to mean anything?  If
> I do "kill f" on linux I get:
>
>     % kill f
>     kill: illegal pid: f
>
> I think you probably mean 'kill -f'.

Yes. Oops.

> Hmm. That seems to be broken currently.
>
> >
> >What I coding is within the cygwin dll, I need to end up with
> >(preferrably) a filled out pinfo struct for a passed pid. Doing it
for
> >the current process is easy enough, but how do I retrieve the info
for
> >other processes?
>
> It's pretty simple:
>
>       pinfo p (pid);
>
> >The external_pinfo struct contains what I need, so if it's easier to
get
> >that that, that's fine (and thats why I grabbed the code from kill).
>
> The external_pinfo struct is intended for external use.  It's not
> intended to be called from inside cygwin.

can pinfo p (pid) return information on non-cygwin processes? It would
really be neat for things like renice to affect non-cygwin programs as
well...

Rob



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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