]> mj.ucw.cz Git - libucw.git/commitdiff
SORTER_fetch_key returns zero/nonzero
authorPavel Charvat <pavel.charvat@netcentrum.cz>
Wed, 6 Sep 2006 19:36:09 +0000 (21:36 +0200)
committerPavel Charvat <pavel.charvat@netcentrum.cz>
Wed, 6 Sep 2006 19:36:09 +0000 (21:36 +0200)
lib/sorter.h

index 15ff9bf7b16bc0378b8231a579cd7035ea8dd088..572c254122da7fc3182aa5d8b6429437fca3201e 100644 (file)
@@ -50,7 +50,7 @@
  *  int PREFIX_compare(SORT_KEY *a, *b)
  *                     compare two keys, result like strcmp
  *  int PREFIX_fetch_key(struct fastbuf *f, SORT_KEY *k)
  *  int PREFIX_compare(SORT_KEY *a, *b)
  *                     compare two keys, result like strcmp
  *  int PREFIX_fetch_key(struct fastbuf *f, SORT_KEY *k)
- *                     fetch next key, returns 1=ok, 0=eof
+ *                     fetch next key, returns nonzero=ok, 0=eof
  *  void PREFIX_copy_data(struct fastbuf *src, *dest, SORT_KEY *k)
  *                     write just fetched key k to dest and copy all data
  *                     belonging to this key from src to dest.
  *  void PREFIX_copy_data(struct fastbuf *src, *dest, SORT_KEY *k)
  *                     write just fetched key k to dest and copy all data
  *                     belonging to this key from src to dest.