findmnt
if ((mnt = findmnt(pstat, mntinfo)) != NULL)
mntent_t *findmnt(struct stat *, struct mntinfo *);