Default infos on ril_sendmsg?

Hi there

is there any more infos on ril_sendmsg?
as i saw it has a full description on ril.h that is provided in this site...but i cannot use it....it gives me invalid paramatrs error....

can anybody show me an example of using it?