ipc

Section: System Calls (2)
Updated: 2026-02-08
Index JM Home Page roff page
 

名前

ipc - System V IPC システムコール  

ライブラリ

標準 C ライブラリ (libc,~-lc)  

書式

#include <linux/ipc.h>        /* Definition of needed constants */
#include <sys/syscall.h>      /* Definition of SYS_* constants */
#include <unistd.h>

int syscall(SYS_ipc, unsigned int call, int first,
            unsigned long second, unsigned long third, void *ptr,
            long fifth);

Note: glibc provides no wrapper for ipc(), necessitating the use of syscall(2).  

説明

ipc() は メッセージ、セマフォー、共有メモリーに関する System V IPC コールの 共通のカーネルへのエントリーポイントである。 call はどの IPC 関数を呼び出すかを決め; 他の引数は適切なコールへと渡される。

ユーザー空間プログラムは通常の名前で適切な関数を呼び出すべきである。 標準ライブラリの実装者やカーネルハッカーのみが ipc() について知る必要がある。  

バージョン

On some architectures ---for example x86-64 and ARM--- there is no ipc() system call; instead, msgctl(2), semctl(2), shmctl(2), and so on really are implemented as separate system calls.  

標準規格

Linux.  

関連項目

msgctl(2), msgget(2), msgrcv(2), msgsnd(2), semctl(2), semget(2), semop(2), semtimedop(2), shmat(2), shmctl(2), shmdt(2), shmget(2), sysvipc(7)


 

Index

名前
ライブラリ
書式
説明
バージョン
標準規格
関連項目

This document was created by man2html, using the manual pages.