reading PMIC_INT power push button status

Hi,
I would need to read the value of PMIC_INT (powe button) @beagleboard black

… is there a way to read it through c++ and-or bash?

thanks
Maurice