X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Futf8%2Futf8.h;h=9a74696800cef1d8a5100703e6939d77d06e0343;hb=56d5c41fa3f3148b6afb4706fa80fead0e232eb2;hp=a095f02e870baf53d0020fd60ffecabc8a0b0cba;hpb=ac8694de3ef34483ce02811c1ba45096ee547a5f;p=ccan diff --git a/ccan/utf8/utf8.h b/ccan/utf8/utf8.h index a095f02e..9a746968 100644 --- a/ccan/utf8/utf8.h +++ b/ccan/utf8/utf8.h @@ -33,7 +33,7 @@ static inline void utf8_state_init(struct utf8_state *utf8_state) * Otherwise returns true, @utf8_state can be reused without initializeation, * and sets errno: * 0: success - * EINVAL: bad encoding. + * EINVAL: bad encoding (including a NUL character). * EFBIG: not a minimal encoding. * ERANGE: encoding of invalid character. *