Howdy -
 
Just wondering if all of fcntl is implemented on the gumstix?
 
I have a program which is monitoring /mnt/mmc using fcntl(fdd, F_NOTIFY, DN_MODIFY) where fdd is a file descriptor for the open directory "fdd = open("/mnt/mmc",O_RDONLY)"
 
I then set a signal handler for SIGIO and everything compiles and runs okay on my Fedora installation. However, when the program runs on the gumstix, fcntl fails with an "Invalid argument" error.
 
I have checked that fdd opens okay. So I'm wondering if all of fcntl is implemented on the gumstix? i.e. F_NOTIFY. 
 
The F_NOTIFY function of fcntl requires the _GNU_SOURCE macro - if that has any bearing on things?
 
Also - does anyone know how to configure syslogd to stop logging everything? Everytime I modify a GPIO I get a log message. Currently I am setting/clearing a GPIO about 100 times a second.
 
Thanks
 
Mark.