Displaying 2 results from an estimated 2 matches for "utflen".
2009 Jul 31
2
[LLVMdev] llvm-gcc build of inferno/plan 9 'mk' fails
...nt.c
seprint.c smprint.c snprint.c sprint.c vfprint.c vseprint.c vsmprint.c
vsnprint.c dofmt.c dorfmt.c errfmt.c fcallfmt.c fltfmt.c fmt.c fmtfd.c
fmtlock.c fmtprint.c fmtquote.c fmtrune.c fmtstr.c fmtvprint.c exits.c
getfields.c pow10.c print.c qsort.c rune.c runestrlen.c seek.c
strdup.c strtoll.c utflen.c utfrrune.c utfrune.c utfecpy.c utflen.c
utfnlen.c utfrrune.c utfrune.c strecpy.c
llvm-ar crvs /usr/local/inferno/MacOSX/386/lib/lib9.a dirstat-posix.o
rerrstr.o errstr-posix.o getuser-posix.o charstod.o cleanname.o
create.o dirwstat.o fmtprint.o fmtvprint.o fprint.o print.o
runeseprint.o runesmpr...
2002 Feb 08
1
RC3: oggenc & iconv
...bl &&
obl < 6) || (k == (size_t)(-1) && (errno == EILSEQ || errno == EINVAL) &&
ibl)" failed: file "iconvert.c", line 111
In my test case, we have a plain ASCII string with a KOI8-R locale
charset and this:
Before the first iconv() call:
* ibl = 9
* obl = utflen = 1
After the iconv() call:
* k = 0, ibl = 8, obl = 0, errno = EINVAL
I'm sitting here with the SUSv3 spec for iconv(), trying to make
sense of it all. This is one confusing interface, but I don't think
the returned values are wrong. Which would render the expectations
in the assert() wr...