Hi,


While going through the code of IPC semaphore implementation, I encountered a 
statement:



new = ipc_rcu_alloc(sizeof(struct kern_ipc_perm *)*newsize +sizeof(struct 
ipc_id_ary))



I am not able to understand how memory will be allocated by the above 
statement. Inside the sizeof() operator why do we need "*newsize"? how does 
size of interprets *newsize? 



-Govindraj

Reply via email to