swixteen  0.03
Switch a lamp on/off with X10 RF commands
 All Files Functions Variables Macros Pages
Macros | Functions
GpioUnExport.c File Reference
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include "../Sysfs/Sysfs.h"
#include "../config.h"
Include dependency graph for GpioUnExport.c:

Go to the source code of this file.

Macros

#define BUFFER_MAX   3 /* pin 0 .. 99 and a trailing zero */
 

Functions

int GpioUnExport (int Pin)
 Request a pin to be unexported from the sysfs filesystem. More...
 

Macro Definition Documentation

#define BUFFER_MAX   3 /* pin 0 .. 99 and a trailing zero */

Definition at line 10 of file GpioUnExport.c.

Function Documentation

int GpioUnExport ( int  Pin)

Request a pin to be unexported from the sysfs filesystem.

Parameters
PinGpio pin to be unexported
Returns
zero on succes and a negative number on failure

Definition at line 17 of file GpioUnExport.c.

Here is the caller graph for this function: