且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在C使用共享内存的Linux

更新时间:2022-06-02 22:39:52

该名男子页 shmget的有你需要开始pretty太多的一切。

The man page for shmget has pretty much everything you need to get started.

如果不是,这里 你有例子说明。

If not, here you have an explanation with examples.

shmget的办法是有点过时,但。使用 MMAP accompannying等设施是一个聪明的做法。

The shmget approach is kinda outdated, though. Using mmap accompannying other facilities is a smarter approach.