LIBINTL(3LIB) Interface Libraries LIBINTL(3LIB)

libintl - internationalization library

cc [ flag... ] file... -lintl [ library... ]
#include <libintl.h>
#include <locale.h> /* needed for dcgettext() only */

Historically, functions in this library provided wide character translations. This functionality now resides in libc(3LIB).

This library is maintained to provide backward compatibility for both runtime and compilation environments. The shared object is implemented as a filter on libc.so.1. New application development need not specify -lintl.

The shared object libintl.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

bindtextdomain dcgettext
dgettext gettext
textdomain

/lib/libintl.so.1

a filter on /lib/libc.so.1

/lib/64/libintl.so.1

a filter on /lib/64/libc.so.1

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level Safe with exceptions

pvs(1), Intro(3), gettext(3C), libc(3LIB), attributes(7)

March 24, 2004 OmniOS