man > IPC::SysV(3perl)

📖 NAME

IPC::SysV - System V IPC constants and system calls

🚀 Quick Reference

Use CaseCommandDescription
🔑 Generate a SysV IPC keyftok(PATH, ID)Create a key from a file path and optional ID for use with msgget, semget, shmget
🔗 Attach shared memoryshmat(ID, ADDR, FLAG)Attach a shared memory segment to the process address space
🔗 Detach shared memoryshmdt(ADDR)Detach a shared memory segment from the process address space
📖 Read from shared memorymemread(ADDR, VAR, POS, SIZE)Read bytes from a memory segment into a variable
âœī¸ Write to shared memorymemwrite(ADDR, STRING, POS, SIZE)Write bytes from a string into a memory segment

📝 SYNOPSIS

use IPC::SysV qw(IPC_STAT IPC_PRIVATE);

📘 DESCRIPTION

IPC::SysV defines and conditionally exports all the constants defined in your system include files which are needed by the SysV IPC calls. Common ones include:

IPC_CREAT IPC_EXCL IPC_NOWAIT IPC_PRIVATE IPC_RMID IPC_SET IPC_STAT GETVAL SETVAL GETPID GETNCNT GETZCNT GETALL SETALL SEM_A SEM_R SEM_UNDO SHM_RDONLY SHM_RND SHMLBA

and auxiliary ones:

S_IRUSR S_IWUSR S_IRWXU S_IRGRP S_IWGRP S_IRWXG S_IROTH S_IWOTH S_IRWXO

but your system might have more.

🔗 SEE ALSO

👤 AUTHORS

ÂŠī¸ COPYRIGHT

Version 2.x, Copyright (C) 2007-2013, Marcus Holland-Moritz.

Version 1.x, Copyright (c) 1997, Graham Barr.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

IPC::SysV(3perl)
📖 NAME 🚀 Quick Reference 📝 SYNOPSIS 📘 DESCRIPTION 🔗 SEE ALSO 👤 AUTHORS ÂŠī¸ COPYRIGHT

Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-22 01:05 @2600:1f28:365:80b0:d8a5:c3c6:bf94:28c0
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format