Most of the libraries, in multiple languages, interact with the GPIO pins via
/sys/class/gpio/gpio10/value, etc. However the linux kernel docs clearly state that is the legacy way of doing things.
What is the non legacy way of doing things?
What would I use for user space? Is there a Sysfs interface for the non legacy?
PS: I aware the kernel docs state that the legacy integer-based interface although considered deprecated is still usable for compatibility reasons. However I'm not interested in using that legacy code.