Lines Matching defs:srcFP
350 FILE *srcFP;
408 srcFP = fopen(srcPath, "r+");
409 if ((srcFP == (FILE *)NULL) && (errno == ENOENT)) {
410 srcFP = fopen(srcPath, "w+");
415 if (srcFP == (FILE *)NULL) {
426 if (srcFP != (FILE *)NULL) {
427 (void) fclose(srcFP);
446 while (fgets(line, sizeof (line), srcFP) != (char *)NULL) {
470 (void) fclose(srcFP);
539 FILE *srcFP;
601 srcFP = fopen(srcPath, "r+");
602 if ((srcFP == (FILE *)NULL) && (errno == ENOENT)) {
603 srcFP = fopen(srcPath, "w+");
608 if (srcFP == (FILE *)NULL) {
619 if (srcFP != (FILE *)NULL) {
620 (void) fclose(srcFP);
639 while (fgets(line, sizeof (line), srcFP) != (char *)NULL) {
672 (void) fclose(srcFP);