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

  1. /*--------------------------------------*/
  2. /*                    */
  3. /*              TRAIL(X)        */
  4. /*                    */
  5. /* Moves a file pointer to the end of   */
  6. /* the file. The argument is the file   */
  7. /* descriptor.                */
  8. /*                    */
  9. /*--------------------------------------*/
  10. # include "stdio.h"
  11. void trail(fd)
  12. FILE *fd;
  13. {
  14.         fseek(fd,0L,2);
  15. }
  16.