LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 08-25-2004, 05:02 AM   #1
aegis_shiva
LQ Newbie
 
Registered: Aug 2004
Location: jakarta
Posts: 1

Rep: Reputation: 0
Angry About Shared Memory...?


what is IPC_PRIVATE used for in shmget..?
Can we input shmid from user to create a shared memory..?

Plz give me some example for explanation or some source code...tx..!!!
 
Old 08-25-2004, 06:05 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Try reading this: http://www.die.net/doc/linux/man/man2/shmget.2.html
See also the bit at the bottom where it says IPC_PRIVATE would have been better called IPC_NEW.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
is shared memory expandable in memory size? Thinking Programming 4 08-16-2005 10:57 AM
c + shared memory dilberim82 Programming 3 03-07-2005 08:49 PM
shared memory blackzone Programming 1 10-14-2004 12:52 PM
where is shared memory in menuconfig?? ner Linux - Newbie 2 05-12-2004 08:00 AM
shared memory socket9001 Programming 4 02-06-2004 03:08 PM


All times are GMT -5. The time now is 05:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration