ftok

ftok (

path

, 

id

)

Returns a key based on path and id for use by msgget , semget , and shmget .