ipc(2)

시스템 V IPC 시스템 콜 · man2 · 한국어

ipc(2) System Calls Manual ipc(2)

ipc - 시스템 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)EN.

ipc()는 메세지 큐, 세마포어, 공유 메모리 등 시스템 V IPC 호출을 위한 커널 엔트리 포인터이다. call는 호출될 IPC 함수를 결정한다: 다른 인자는 적당한 호출값으로 설정된다.

사용자 프로그램은 일반적으로 알려져 있는 이름에 의해 적절한 함수를 호출해야 한다. 표준 라이브러리 개발자나 커널 해커만이 ipc()에 관하여 알 필요가 있다.

ipc()는 리눅스에 의존적이므로, 호환성을 염두에 둔 프로그램에서 사용해서는 안된다.

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

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

이 매뉴얼 페이지의 한국어 번역은 다음에 의해 편집되었습니다: 정강훈 <skyeyes@soback.kornet.net>

이 번역은 무료 문서입니다. 저작권 조건에 대해서는 GNU General Public License 버전 3 이상을 읽으십시오. 책임이 없습니다.

이 매뉴얼 페이지의 번역에서 오류를 발견하면 translation-team-ko@googlegroups.com 로 이메일을 보내주십시오.

2023년 2월 5일 Linux man-pages 6.03