MCPcopy Index your code
hub / github.com/RsyncProject/rsync / default_charset

Function default_charset

rsync.c:76–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74# endif
75
76static const char *default_charset(void)
77{
78# if defined HAVE_LIBCHARSET_H && defined HAVE_LOCALE_CHARSET
79 return locale_charset();
80# elif defined HAVE_LANGINFO_H && defined HAVE_NL_LANGINFO
81 return nl_langinfo(CODESET);
82# else
83 return ""; /* Works with (at the very least) gnu iconv... */
84# endif
85}
86
87void setup_iconv(void)
88{

Callers 1

setup_iconvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected