---
name: "getwc_l"
section: "3"
platform: "macos"
package: "Libc"
version: "1752.120.2"
release: "macOS 26.5"
platforms: ["macos"]
url: "https://new.carta.tech/getwc_l"
---

# getwc\_l(3)

get next wide character from input stream

## NAME

**fgetwc\_l**, **getwc\_l**, **getwchar\_l** – get next wide character from input stream

## LIBRARY

Standard C Library (libc, -lc)

## SYNOPSIS

**#include \<stdio.h\>**

**#include \<wchar.h\>**

**#include \<xlocale.h\>**

*wint\_t*\

**fgetwc\_l**(*FILE \*stream*, *locale\_t loc*);

*wint\_t*\

**getwc\_l**(*FILE \*stream*, *locale\_t loc*);

*wint\_t*\

**getwchar\_l**(*locale\_t loc*);

## DESCRIPTION

The **fgetwc\_l**(), **getwc\_l**(), and **getwchar\_l**() functions are extended locale versions of the **fgetwc**(), **getwc**(), and **getwchar**() functions, respectively. Refer to their manual pages for details. Also, see [xlocale(3)](/xlocale/3.md) for more information about extended locales.

## SEE ALSO

[getwc(3)](/getwc/3.md), [xlocale(3)](/xlocale/3.md)
