XmTextGetStringWcs(3) on Linux
The text a154ef74286f, as Debian 13 (Trixie), Debian 12 (Bookworm), Debian 11 (Bullseye), Debian 10 (Buster), Debian 9 (Stretch), Debian 8 (Jessie) shipped it.
A Text function that retrieves a copy of the wide character string value of a Text widget "XmTextGetStringWcs" "Text functions" "XmTextGetStringWcs"