X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Futf8%2Futf8.h;h=9a74696800cef1d8a5100703e6939d77d06e0343;hp=a095f02e870baf53d0020fd60ffecabc8a0b0cba;hb=56d5c41fa3f3148b6afb4706fa80fead0e232eb2;hpb=b45a3266352be0da51c532c8dc462e67e5830877 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. *