Lines Matching +full:no +full:- +full:wp
17 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
33 #include "local-link.h"
57 if (fb->fp != stream && fb->fp != NULL) { in fgetwln()
62 fb->fp = stream; in fgetwln()
65 if (!fb->len || wused >= fb->len) { in fgetwln()
66 wchar_t *wp; in fgetwln() local
68 if (fb->len) in fgetwln()
69 fb->len *= 2; in fgetwln()
71 fb->len = FILEWBUF_INIT_LEN; in fgetwln()
73 wp = reallocarray(fb->wbuf, fb->len, sizeof(wchar_t)); in fgetwln()
74 if (wp == NULL) { in fgetwln()
78 fb->wbuf = wp; in fgetwln()
81 fb->wbuf[wused++] = wc; in fgetwln()
88 return wused ? fb->wbuf : NULL; in fgetwln()
93 "instead, as it is supported by C99 and POSIX.1-2001.")