Segmentation fault shmat() with 2d array

前端 未结 0 513
庸人自扰
庸人自扰 2020-12-16 17:08

Trying to allocate 2d array in shared memory. Execution returns segmentation fault during assignments (I think). Should I do the assignments in another way? This is my code:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题