信号量的API都定义在sys/sem.h 当中,共享内存的API都定义在sys/shm.h当中

semaphore;shared memory。
■网友
谢谢@郭无心的邀请,赞同@Xi Yang的回答。


    推荐阅读