Re: pid_t data type
- From: Casper H.S. *** <Casper.***@xxxxxxx>
- Date: 19 Mar 2008 09:34:52 GMT
"jason.cipriani@xxxxxxxxx" <jason.cipriani@xxxxxxxxx> writes:
On Mar 18, 5:48 am, Rainer Weikusat <rweiku...@xxxxxxxxxxx> wrote:
[snip]
Does it say somewhere that pid_t will never be a pointer type, or some
other type, like a float (which, while strange, is fine since it's
hidden behind the typedef)? If it can be, then the discussion of using
longs or whatever interchangeably with pid_t's is moot.
It needs to be a signed airthmetic type:
If pid is negative but not (pid_t)-1, sig will be sent to
all processes whose process group ID is equal to the abso-
lute value of pid and for which the process has permission
to send a signal.
Since it needs to be used in comparisons it can't really be float...
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
.
- Follow-Ups:
- Re: pid_t data type
- From: Logan Shaw
- Re: pid_t data type
- References:
- pid_t data type
- From: Sanchit
- Re: pid_t data type
- From: Logan Shaw
- Re: pid_t data type
- From: Rainer Weikusat
- Re: pid_t data type
- From: Sanchit
- Re: pid_t data type
- From: Gordon Burditt
- Re: pid_t data type
- From: Rainer Weikusat
- Re: pid_t data type
- From: jason.cipriani@xxxxxxxxx
- pid_t data type
- Prev by Date: Sessions and groups
- Next by Date: Re: pid_t data type
- Previous by thread: Re: pid_t data type
- Next by thread: Re: pid_t data type
- Index(es):