Commcarte.h : Différence entre versions

De troyesGEII
Aller à : navigation, rechercher
m
 
Ligne 1 : Ligne 1 :
 
{{RetourVers/TpII}}
 
{{RetourVers/TpII}}
  
#include <stdio.h>
+
<source lang="c">
#include <sys/errno.h>
+
#include <stdio.h>
#include <linux/ppdev.h>
+
#include <sys/errno.h>
#include <linux/parport.h>
+
#include <linux/ppdev.h>
#include <fcntl.h>
+
#include <linux/parport.h>
#include <string.h>
+
#include <fcntl.h>
#include <stdlib.h>
+
#include <string.h>
#include <sys/ioctl.h><br>
+
#include <stdlib.h>
int openParPort(char * parport);
+
#include <sys/ioctl.h>
int ecrireParPortp(int device,unsigned char *val);
+
 
int ecrireParPort(int device,unsigned char val);
+
int openParPort(char * parport);
int closeParPort(int device);
+
int ecrireParPortp(int device,unsigned char *val);
 +
int ecrireParPort(int device,unsigned char val);
 +
int closeParPort(int device);
 +
</source>
  
 
{{RetourVers/TpII}}
 
{{RetourVers/TpII}}

Version actuelle datée du 15 décembre 2012 à 22:51

retour vers la page des Tps II

#include <stdio.h>
#include <sys/errno.h>
#include <linux/ppdev.h>
#include <linux/parport.h>
#include <fcntl.h>
#include <string.h>
#include <stdlib.h>
#include <sys/ioctl.h>

int openParPort(char * parport);
int ecrireParPortp(int device,unsigned char *val);
int ecrireParPort(int device,unsigned char val);
int closeParPort(int device);

retour vers la page des Tps II