Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > problem with IPC-msgget

problem with IPC-msgget
Thread Tools
Fresh-Faced Recruit
Join Date: Jun 2001
Status: Offline
Reply With Quote
Jun 3, 2001, 05:13 AM
 
I am a student and I am required to write a small application in C for UNIX. Having a G4, I am doing it with OSX. The application has to do IPC via message queues (it is required), so the code contains the function msgget, which appears in the Darwin man pages and in all the books.

The trouble is that the shell (Terminal) says to me that the header file sys/msg.h can't be found; strangely it compiles correctly without including it, but then at runtime there is an error saying that msgget is a non supported operation.

I am not an expert programmer, and my professor knows nothing about MacOSX, so I don't know who to ask. What's wrong, and how can I fix it?

Thank you very much for replying.

edoardo tealdi
edtealdi@tin.it
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:11 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2