Home | History | Annotate | Download | only in wifi

Lines Matching refs:srcfd

309     int srcfd, destfd;
322 srcfd = open(config_file, O_RDONLY);
323 if (srcfd < 0) {
328 nread = read(srcfd, pbuf, sb.st_size);
329 close(srcfd);
371 int srcfd, destfd;
392 srcfd = open(SUPP_CONFIG_TEMPLATE, O_RDONLY);
393 if (srcfd < 0) {
400 close(srcfd);
405 while ((nread = read(srcfd, buf, sizeof(buf))) != 0) {
408 close(srcfd);
417 close(srcfd);