dimanche 22 mars 2015

use of mkdir -p in c for creating parent folders of a file


I need a lead on this. I am working on language translation using dgettext utility of glibc. I have a file x.mo in a location eg: /usr/share/x.mo but dgettext work on directory structure /usr/share/(language/mSG/)x.mo How can i create this intermidiate directory language/mSG in c.




Aucun commentaire:

Enregistrer un commentaire