Altera_Forum
Honored Contributor
19 years agoProblem with Shmget in Nios-uClinux
I am using " Altera Stratix 1S10 Development Kit".
I am using this uClinux 2.6.11 i.e., the latest version, "v1.4", released on this forum site. I am able to use sockets n this environment. But while creating the shared memory of 512 Bytes using Shmget, I am getting an error message: http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif " Invalid Agument" I reduced the size, but still the pronlem is persisting. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif I used the following parameters for shmget: shmget(key, 512, IPC_CREAT | 0666 ); http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/huh.gif Best Regards, K V Naresh