Search code examples
clocalizationlocale

What's the meaning of "conv" in the function name "localeconv()"?


What's the meaning of "conv" in the function name localeconv() in header <locale.h>?


Solution

  • The HP-UX manual pages, summarize the purpose of localeconv() as:

    localeconv() - query the numeric formatting conventions of the current locale

    The IBM z/VM C library manual describes it similarly:

    localeconv() — Query Numeric Conventions

    I'm not sure exactly where the origin of this wording was, but a number of sources do appear to agree that it stands for "conventions".