Home | History | Annotate | Download | only in libsensors_iio

Lines Matching full:sysfsfp

149     FILE  *sysfsfp;
151 sysfsfp = fopen(filename, "r");
152 if (sysfsfp != NULL) {
153 if (fscanf(sysfsfp, "%d\n", var) < 0 || fclose(sysfsfp) < 0) {
164 FILE *sysfsfp;
166 sysfsfp = fopen(filename, "r");
167 if (sysfsfp != NULL) {
168 if (fscanf(sysfsfp, "%lld\n", var) < 0 || fclose(sysfsfp) < 0) {
192 FILE *sysfsfp;
194 sysfsfp = fopen(filename, "w");
195 if (sysfsfp != NULL) {
196 if (fprintf(sysfsfp, "%d\n", var) < 0 || fclose(sysfsfp) < 0) {
207 FILE *sysfsfp;
209 sysfsfp = fopen(filename, "w");
210 if (sysfsfp != NULL) {
211 if (fprintf(sysfsfp, "%lld\n", var) < 0 || fclose(sysfsfp) < 0) {