I want to know where all mount points are stored; that is, in any particular directory?
I want to be able to list all existing mount points using program C. Which system call or function should I use?
They are located in the / proc / mounts file, which you can read and analyze.