shmat returns false memory address

前端 未结 0 1271
天命终不由人
天命终不由人 2020-12-16 06:22

I wanted to have a shared memory segment that has a struct that holds a list of strings and a list/array of semaphores (The struct is called sms). I create it like this:

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