References for shmat services
This section includes the following subroutine references:
“The ftok() subroutine” on page 448
“The shmat() routine” on page 449
“The shmctl() subroutine” on page 454
“The shmget() routine” on page 457
“The shmdt() subroutine” on page 460
The ftok() subroutine
Generates a standard interprocess communication key.
Library
Standard C library (libc.a)
Syntax
#include <sys/types.h> #include <sys/ipc.h> key_t ftok(Path, ID) char *Path; int ID;
Description
The ftok() subroutine returns a key, based on the Path and ID parameters, to be used to obtain interprocess communication identifiers. The ftok() subroutine returns the same key for linked files if called with the same ID parameter. Different keys are returned for ...
Get Developing and Porting C and C++ Applications on AIX now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.