Lines Matching defs:fin
742 FILE *fin, *dout = 0;
783 fin = stdin;
786 fin = mypopen(local + 1, "r");
787 if (fin == NULL) {
797 fin = fopen(local, "r");
798 if (fin == NULL) {
806 if (fstat(fileno(fin), &st) < 0 ||
812 (void) fclose(fin);
823 (*closefunc)(fin);
831 if (fseeko(fin, restart_point, SEEK_SET) < 0) {
834 (*closefunc)(fin);
841 (*closefunc)(fin);
854 (*closefunc)(fin);
867 (*closefunc)(fin);
885 while ((c = read(fileno(fin), buf, FTPBUFSIZ)) > 0) {
917 while ((c = getc(fin)) != EOF) {
946 if (ferror(fin))
962 (*closefunc)(fin);
1023 if (closefunc != NULL && fin != NULL)
1024 (*closefunc)(fin);