unpipc.h

  • Follow


Hi,
I am a beginner..
and I came across unpipc.h in message queues...what is it?
and also saw size_t and ssize_t many times...what are they?
can anyobe pls clarify?

Thanks
vv
0
Reply vara_vemuri (1) 1/8/2004 9:12:12 PM

On 8 Jan 2004 13:12:12 -0800
vara_vemuri@mailcity.com (vv) wrote:

> Hi,
> I am a beginner..
> and I came across unpipc.h in message queues...what is it?
> and also saw size_t and ssize_t many times...what are they?
> can anyobe pls clarify?
In general:
size_t is required by the C89 and the current ISO C standards. 
size_t is an unsigned type of the result of the sizeof operator. 
ssize_t is signed. 

If you look at the prototype for things like malloc(3), it takes a
size_t as its argument. 

The reason for size_t is that different systems may have a different
size size_t. 32 bit systems usually have a 32 bit size_t and 64 bit
systems usually have 64 bit size_t. These are required to be defined by
including stddefs.h. (ANSI 89 4.5.1). 

BTW: unpipc.c does not appear in by Linux distro, and I have never seen
it before on other Unix systems, but that only means I've never used it.


-- 
Jerry Feldman <gaf-nospam-at-blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
0
Reply Jerry 1/8/2004 9:31:43 PM


Jerry Feldman <gaf-noSPAM@blu.org> writes:

> On 8 Jan 2004 13:12:12 -0800
> vara_vemuri@mailcity.com (vv) wrote:
>
>> Hi,
>> I am a beginner..
>> and I came across unpipc.h in message queues...what is it?

[snip]

>
> BTW: unpipc.c does not appear in by Linux distro, and I have never seen
> it before on other Unix systems, but that only means I've never used it.

I suspect it's Stevens' header file from "Unix Network Programming". If
it's about message queues, it is probably the second edition? Where did you
get that file (one including it) from?

Bye, Dragan

-- 
Dragan Cvetkovic, 

To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer

!!! Sender/From address is bogus. Use reply-to one !!!
0
Reply Dragan 1/8/2004 9:37:55 PM

On Thu, 8 Jan 2004, Jerry Feldman wrote:

> BTW: unpipc.c does not appear in by Linux distro, and I have never seen
> it before on other Unix systems, but that only means I've never used it.

It's the header file for the second volume of Rich Stevens'
UNIX Network Programming, 2nd Edition.

-- 
Rich Teer, SCNA, SCSA

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-online.net
0
Reply Rich 1/8/2004 10:07:49 PM

"Rich Teer" <rich.teer@rite-group.com> wrote in message 
news:Pine.SOL.4.58.0401081406580.2240@zaphod.rite-group.com...

> It's the header file for the second volume of Rich Stevens'
> UNIX Network Programming, 2nd Edition.


    Of course, we should all be using the 3rd Edition now. ;)

    DS



0
Reply David 1/8/2004 10:13:33 PM

"David Schwartz" <davids@webmaster.com> writes:

> "Rich Teer" <rich.teer@rite-group.com> wrote in message 
> news:Pine.SOL.4.58.0401081406580.2240@zaphod.rite-group.com...
>
>> It's the header file for the second volume of Rich Stevens'
>> UNIX Network Programming, 2nd Edition.
>
>
>     Of course, we should all be using the 3rd Edition now. ;)
>

Do you know if and when is the second volume of the 3rd edition due?

Bye, Dragan

-- 
Dragan Cvetkovic, 

To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer

!!! Sender/From address is bogus. Use reply-to one !!!
0
Reply Dragan 1/8/2004 10:25:20 PM

On Thu, 8 Jan 2004, Dragan Cvetkovic wrote:

> Do you know if and when is the second volume of the 3rd edition due?

The new authors are indeed planning to write the 2nd and 3rd
volumes for the 3rd edition.  As for when we can expect the
2nd volume, I'd say it'll be at least a year away (longer
if they're as slow at writing as I am!!!)...

-- 
Rich Teer, SCNA, SCSA

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-online.net
0
Reply Rich 1/8/2004 11:19:25 PM

Rich Teer <rich.teer@rite-group.com> writes:

> On Thu, 8 Jan 2004, Dragan Cvetkovic wrote:
>
>> Do you know if and when is the second volume of the 3rd edition due?
>
> The new authors are indeed planning to write the 2nd and 3rd
> volumes for the 3rd edition.  As for when we can expect the
> 2nd volume, I'd say it'll be at least a year away (longer
> if they're as slow at writing as I am!!!)...

Thanks Rich. 

Bye, Dragan

-- 
Dragan Cvetkovic, 

To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer

!!! Sender/From address is bogus. Use reply-to one !!!
0
Reply Dragan 1/9/2004 12:19:08 AM

7 Replies
682 Views

(page loaded in 0.078 seconds)

Similiar Articles:








7/20/2012 10:37:33 PM


Reply: