home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 1 / FishNMoreVol1.bin / more / code_examples / librar / fcrlf.c < prev    next >
Text File  |  1989-02-08  |  576b  |  27 lines

  1. /*--------------------------------------*/
  2. /*                    */
  3. /*             FCRLF(X,X)        */
  4. /*                    */
  5. /* Functionality:            */
  6. /*    Writes <CR><LF>'s to a file.    */
  7. /* Arguments:                */
  8. /*    0: File descriptor        */
  9. /*    1: The repetition factor.    */
  10. /* Returns: Nothing            */
  11. /* Functions used:            */
  12. /*    FPRINTF()            */
  13. /* Author: John Callicotte        */
  14. /* Date created/modified: 09/01/88    */
  15. /*                    */
  16. /*--------------------------------------*/
  17.  
  18. # include "stdio.h"
  19. void fcrlf(fd,a)
  20. int a;
  21. FILE *fd;
  22. {
  23.         int j;
  24.         for (j=0;j<a;j++)
  25.              fprintf(fd,"\n");
  26. }
  27.