#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include "../Sysfs/Sysfs.h"
#include "../config.h"
Go to the source code of this file.
|
#define | BUFFER_MAX 3 /* pin 0 .. 99 and a trailing zero */ |
|
#define BUFFER_MAX 3 /* pin 0 .. 99 and a trailing zero */ |
int GpioUnExport |
( |
int |
Pin | ) |
|
Request a pin to be unexported from the sysfs filesystem.
- Parameters
-
Pin | Gpio pin to be unexported |
- Returns
- zero on succes and a negative number on failure
Definition at line 17 of file GpioUnExport.c.