delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/17/22:14:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <017301c0af59$3d35f3b0$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <cygwin AT cygwin DOT com>
References: <012901c0af49$6bae6ac0$0200a8c0 AT lifelesswks> <20010317214107 DOT A23324 AT redhat DOT com>
Subject: Re: bug report - kill f || plea for help
Date: Sun, 18 Mar 2001 14:12:16 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 18 Mar 2001 03:06:32.0528 (UTC) FILETIME=[6F46FD00:01C0AF58]

----- Original Message -----
From: "Christopher Faylor" <cgf AT redhat DOT com>
To: <cygwin AT cygwin DOT 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 AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019