ftok(3)convert a pathname and a project identifier to a System V IPC key
...be nonzero) to generate a key_t type System V IPC key, suitable for use with msgget (2), semget (2), or shmget (2). The resulting value is the same for all pathnames that name t…