Home | History | Annotate | Download | only in libsensors_iio

Lines Matching refs:sysfsfp

141     FILE  *sysfsfp;
143 sysfsfp = fopen(filename, "r");
144 if (sysfsfp != NULL) {
145 if (fscanf(sysfsfp, "%d\n", var) < 1) {
149 fclose(sysfsfp);
160 FILE *sysfsfp;
164 sysfsfp = fopen(filename, "w");
165 if (sysfsfp == NULL) {
171 fpres = fprintf(sysfsfp, "%d\n", var);
177 fclose(sysfsfp);
179 fcres = fclose(sysfsfp);