-
Peter Hutterer authored
The clib part was already mostly there, the frontend wasn't. This requires the fd to be open in rw mode which implies buffering=0 (otherwise you get Illegal Seek errors). Add all this into an example for a simple LED toggle script. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
Peter Hutterer authoredThe clib part was already mostly there, the frontend wasn't. This requires the fd to be open in rw mode which implies buffering=0 (otherwise you get Illegal Seek errors). Add all this into an example for a simple LED toggle script. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>