Searched refs:wcio (Results 1 – 4 of 4) sorted by relevance
39 struct wchar_io_data *wcio; in fwide() local53 wcio = WCIO_GET(fp); in fwide()54 if (!wcio) in fwide()57 if (wcio->wcio_mode == 0 && mode != 0) in fwide()58 wcio->wcio_mode = mode; in fwide()60 mode = wcio->wcio_mode; in fwide()
40 struct wchar_io_data *wcio; in __ungetwc() local52 wcio = WCIO_GET(fp); in __ungetwc()53 if (wcio == 0) { in __ungetwc()58 if (wcio->wcio_ungetwc_inbuf >= WCIO_UNGETWC_BUFSIZE) { in __ungetwc()62 wcio->wcio_ungetwc_buf[wcio->wcio_ungetwc_inbuf++] = wc; in __ungetwc()
40 struct wchar_io_data *wcio; in __fgetwc_unlock() local46 wcio = WCIO_GET(fp); in __fgetwc_unlock()47 if (wcio == 0) { in __fgetwc_unlock()53 if (wcio->wcio_ungetwc_inbuf) { in __fgetwc_unlock()54 wc = wcio->wcio_ungetwc_buf[--wcio->wcio_ungetwc_inbuf]; in __fgetwc_unlock()59 st = &wcio->wcio_mbstate_in; in __fgetwc_unlock()
42 struct wchar_io_data *wcio; in __fputwc_unlock() local55 wcio = WCIO_GET(fp); in __fputwc_unlock()56 if (wcio == 0) { in __fputwc_unlock()61 wcio->wcio_ungetwc_inbuf = 0; in __fputwc_unlock()62 st = &wcio->wcio_mbstate_out; in __fputwc_unlock()