]> mj.ucw.cz Git - libucw.git/commitdiff
Documented the meaning of ~0U parameter in bbcopy().
authorPavel Charvat <pchar@ucw.cz>
Sun, 26 Oct 2008 17:51:56 +0000 (18:51 +0100)
committerPavel Charvat <pchar@ucw.cz>
Sun, 26 Oct 2008 17:51:56 +0000 (18:51 +0100)
ucw/fastbuf.h

index f2e9efc53d3f75a060594c865dbee120ed4eeb58..633155fe0b7cf9c98a5d5e9f13780924cdf9f0f9 100644 (file)
@@ -568,6 +568,7 @@ static inline void bputsn(struct fastbuf *f, const char *b)
 void bbcopy_slow(struct fastbuf *f, struct fastbuf *t, uns l);
 /**
  * Copy @l bytes of data from fastbuf @f to fastbuf @t.
+ * `UINT_MAX` means all data, even if more than `UINT_MAX` bytes remain.
  **/
 static inline void bbcopy(struct fastbuf *f, struct fastbuf *t, uns l)
 {