BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kcomparefile - compare the contents of one filename to another

LIBRARY CALL

int kcomparefile(
   const char *filename1,
   const char *filename2,
   size_t      num,
   size_t     *num_compared)

INPUT

OUTPUT

RETURN VALUE

An integer less than, equal to, or greater than 0, according as is lexicographically less than, equal to, or greater than id2.

DESCRIPTION

This routine compares the contents of the first filename to that of second filename. The contents of the files are compared using memcmp().

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kutils/src/file.c

SEE ALSO

kutils(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.