[BACK]Return to file2.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / plugin

Diff for /OpenXM/src/kan96xx/plugin/file2.c between version 1.7 and 1.8

version 1.7, 2003/11/23 13:16:30 version 1.8, 2003/11/24 08:16:13
Line 1 
Line 1 
 /*$OpenXM: OpenXM/src/kan96xx/plugin/file2.c,v 1.6 2003/11/18 11:08:27 takayama Exp $ */  /*$OpenXM: OpenXM/src/kan96xx/plugin/file2.c,v 1.7 2003/11/23 13:16:30 takayama Exp $ */
 #include <stdio.h>  #include <stdio.h>
 #include <sys/time.h>  #include <sys/time.h>
 #include <sys/types.h>  #include <sys/types.h>
Line 356  char *fp2fcloseInString(FILE2 *fp2, int *sizep)
Line 356  char *fp2fcloseInString(FILE2 *fp2, int *sizep)
   }else{    }else{
         fprintf(stderr,"fp2fcloseInString is called for a file stream that is not associated to a string.\n");          fprintf(stderr,"fp2fcloseInString is called for a file stream that is not associated to a string.\n");
   }    }
   }
   
   int fp2fputs(char *s,FILE2 *fp) {
     int i,n;
     n = strlen(s);
     for (i=0; i<n; i++) {
           if (fp2fputc(s[i],fp) < 0) return(-1);
     }
     return(0);
 }  }
   
 /* Sample program  FORSTRING  /* Sample program  FORSTRING

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>