dividuum
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
66 ms·
- 661.▲
- 662.▲
- 663.▲
- 664.▲
- 665.▲
- 666.▲
- 667.▲
- 668.▲
- 669.▲
- 670.▲
- 671.▲
- 672.▲
- 673.▲
- 674.▲
- 675.▲
- 676.▲
- 677.▲
- 678.▲
- 679.▲
- 680.▲
- 681.▲
- 682.▲
- 683.▲
- 684.▲
- 685.▲
- 686.▲
- 687.▲
- 688.▲
- 689.▲
- 690.▲
Is this the general idea? int fd = shm_open("test", O_RDWR|O_CREAT, 0600);
ftruncate(fd, 4096*2);
char *part1 = mmap(NULL, 4096, PROT_WRITE|PROT_WRITE, MAP_SHARED, fd, 0);
char *part2 = mmap(part1 + 4096, 4096,
More ›