Get the last assigned id
int ipc_get_maxid(struct ipc_ids * ids);
ids
ipc identifier set
Called with ipc_ids.rwsem held.