Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^2: Mem shize for a shared mem (shmget)

by vijesh (Novice)
on Dec 11, 2013 at 04:01 UTC ( #1066543=note: print w/replies, xml ) Need Help??

in reply to Re: Mem shize for a shared mem (shmget)
in thread Mem shize for a shared mem (shmget)

it just returns the shared mem location. Does not say anything about the size. please find some perld

DB<1> n main::( my $id = shmget( $key, $size, &IPC_CREAT | 077 +7 ); DB<1> x shmget( $key, $size, &IPC_CREAT | 0777 ); 0 9142327 DB<2> p $key 90 DB<4> p $size 100 DB<5>

Replies are listed 'Best First'.
Re^3: Mem shize for a shared mem (shmget)
by vijesh (Novice) on Dec 12, 2013 at 08:36 UTC
    hello Monks, any help will be appreciated. -Thanks

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1066543]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2018-02-18 05:29 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (250 votes). Check out past polls.