Hello there! I could really use some help from you programming gurus. There's a lot about programming that I do not understand and as a result I am stumped.
Basically, I have a program on a UNIX box which controls an external device (GPIO) using ioctl. The problem is, I have no idea what arguments to pass in order to control the output. There is no built-in help or documentation.
I DO however have all of the source code (C or C++, likely the former) for the program. I am wondering if someone could determine what format the argument(s) need to be in by looking at the source code.
All of the values are some form of boolean but I'm not sure if binary, hex, etc...
PM me if you are willing to help.
Thanks!
Basically, I have a program on a UNIX box which controls an external device (GPIO) using ioctl. The problem is, I have no idea what arguments to pass in order to control the output. There is no built-in help or documentation.
I DO however have all of the source code (C or C++, likely the former) for the program. I am wondering if someone could determine what format the argument(s) need to be in by looking at the source code.
All of the values are some form of boolean but I'm not sure if binary, hex, etc...
PM me if you are willing to help.
Thanks!