I have to test the given folder path is a mount point or it is in local to my system with c code.
I read on net that /etc/mtab
file have entry for mounted point. I can check that file but is their any system call or any function to check mount point.
My kernel version is 2.6.28.10
.