现在,要从全部共享内存文件读取和打印所有记录,创建一个循环。
Now, to read and print all the records from the entire Shared memory file, create a loop.
在Linux系统中,您不能通过使用通常用于文件显示的cat实用工具来查看共享内存文件(常指的是shm文件),因为这些shm文件是以二进制的格式存储的。
You cannot view the Shared memory files (commonly referred as SHM files) by using the cat utility generally used for file display in Linux since these SHM files are in a binary format.
除了实际的文件,设备与共享内存对象都能够被映射。
In addition to actual files, devices and Shared memory objects can be mapped.
应用推荐