Ignore:
Timestamp:
Dec 2, 2007, 5:53:40 AM (18 years ago)
Author:
bird
Message:

combined the bulk of the cmp stuff into cmp_util.c. implemented cp --changed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kmkbuiltin/cmp_extern.h

    r1117 r1309  
    3636#define ERR_EXIT        2       /* error exit code */
    3737
    38 static int      c_regular(int, char *, off_t, off_t, int, char *, off_t, off_t);
    39 static int      c_special(int, char *, off_t, int, char *, off_t);
    40 static int      diffmsg(char *, char *, off_t, off_t);
    41 static int      eofmsg(char *, off_t, off_t);
    42 static int      errmsg(char *, off_t, off_t);
     38int cmp_file_and_file(const char *file1, const char *file2, int sflag, int lflag, int special);
     39int cmp_file_and_file_ex(const char *file1, off_t skip1,
     40                         const char *file2, off_t skip2, int sflag, int lflag, int special);
     41int cmp_fd_and_file(int fd1, const char *file1,
     42                    const char *file2, int sflag, int lflag, int special);
     43int cmp_fd_and_file_ex(int fd1, const char *file1, off_t skip1,
     44                       const char *file2, off_t skip2, int sflag, int lflag, int special);
     45int cmp_fd_and_fd(int fd1, const char *file1,
     46                  int fd2, const char *file2, int sflag, int lflag, int special);
     47int cmp_fd_and_fd_ex(int fd1, const char *file1, off_t skip1,
     48                     int fd2, const char *file2, off_t skip2,  int sflag, int lflag, int special);
    4349
    44 /*extern int lflag, sflag;*/
Note: See TracChangeset for help on using the changeset viewer.