How to Develop a 2 IPC system calls

I need to develop 2 IPC system calls.

1) The first one allows sender to send a message to set of receivers in a single call.

2) The second one allows receiver to receives all message that have been sent to it in a single call

Please help me in developing this system calls ....atleast how to start it ......Thanks alot

Which operating system is this for?

Do you know how system calls work?

You need to add some code to the kernel to provide the kernels half, and integrate it to the kernels syscall dispatch mechanism.

Then you need to provide a userland syscall api to access the syscall.