Client tools like "mysql" use MariaDB Connector/C in 10.2 and above after
MDEV-9293. However, the client tools still use the server code to parse my.cnf and other option/configuration files. See here:
Do we want to make MariaDB Connector/C handle this job for clients at some point too?