it just returns the shared mem location. Does not say anything about the size. please find some perld
DB<1> n main::(shm.pl:10): 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>
In reply to Re^2: Mem shize for a shared mem (shmget)
by vijesh
in thread Mem shize for a shared mem (shmget)
by vijesh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |