Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

how to use "msgget" in nios2 uclinx?

hi:

I use function ret = msgget(KEY_MQ_CORE, IPC_CREAT|0660); make successed.

After exec, but the return value is -1

I want to use cmd "IPCS" to check the ipc ID. but shell return: not found.

http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif

How can I do? The same function "msgget" used in other uClinx os is OK.

Why failed in nios2 uClinux? Why the cmd "IPCS" not support nios2 linux?

Thanks a lot.

13 Replies