Getting the interface name from device name.

I have a requirement to get the interace connection name(e.gppp0) corresponds to which device(e.g /dev/ser4). Do we have an API?

Can we change the name for a ppp interface