...to a binary form quickly usable by the locale functions in the C library ( setlocale (3), localeconv (3), etc.), and places the output in outputpath . The outputpath argument is…