GPIO with Interrupt in sysfs?

antifish
Hi@all

at the moment i'm using the GPIO pins in sysfs mode (under /sys/class/gpio)
but i don't know how to get an interrupt from the there? In the linux gpio
docs is written about the "poll(2)" function, wich only works when the GPIO
pin is configured as interrupt-generation.
But i dont know where to do that?

And the second question: can i enable / disable pull up/down in the
gpio-sysfs mode somehow?

thanks