Searched refs:cxwrite (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/sort/common/
H A Dstreams_stdio.c341 if (cxwrite(str->s_type.SF.s_fd, NULL, 0) == 0)
357 if (cxwrite(str->s_type.SF.s_fd, "\n", 1) < 0)
367 if (cxwrite(str->s_type.SF.s_fd, NULL, 0) < 0)
378 if (cxwrite(str->s_type.SF.s_fd, line->l_data.sp,
H A Dutility.h166 extern int cxwrite(int, char *, size_t);
H A Dutility.c65 * data in large quantities (particularly for multibyte locales). cxwrite()
67 * built on top of cxwrite().
482 * int cxwrite(int, char *, size_t)
485 * cxwrite() implements a buffered version of fwrite(ptr, nbytes, 1, .) on
487 * write the current buffer contents. cxwrite() must be flushed before being
494 cxwrite(int fd, char *ptr, size_t nbytes) function
544 * character buffers with similar calling semantics to cxwrite(). It returns
559 return (cxwrite(NULL, 0, 1));
577 return (cxwrite(fd, convert_buffer, req_bufsize));

Completed in 47 milliseconds