Re: pid_t data type
- From: Sanchit <sanchitgupta.1@xxxxxxxxx>
- Date: Sat, 15 Mar 2008 11:04:42 -0700 (PDT)
On Mar 15, 10:59 pm, Lew Pitcher <lpitc...@xxxxxxxxxxxx> wrote:
Sanchit wrote:
pid_t is a data type defines in types.h
but is it realy necessary to use it.. I mean it is a signed integer
type only..
Perhaps. In any case, what /size/ (or type, if you will) of integer is it?
Is it a short int, an int, a long int, or a long long int?
then why should pid_t be used??
So that you don't /have/ to know what type of integer the implementation
uses for a pid value.
--
Lew Pitcher
Master Codewright & JOAT-in-training | Registered Linux User #112576http://pitcher.digitalfreehold.ca/ | GPG public key available by request
---------- Slackware - Because I know what I'm doing. ------
So if i will use long.. and i am not concerned with memory
management.. will it be fine in every case.. are there any specific
case where we should use only pid_t and not long (any any int type)
.
- Follow-Ups:
- Re: pid_t data type
- From: Eric Sosman
- Re: pid_t data type
- From: Logan Shaw
- Re: pid_t data type
- From: Barry Margolin
- Re: pid_t data type
- References:
- pid_t data type
- From: Sanchit
- Re: pid_t data type
- From: Lew Pitcher
- pid_t data type
- Prev by Date: Re: pid_t data type
- 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):
Relevant Pages
|