Create a directory if it doesn’t already exist. Create intermediate parent directories as needed, too.
Available since: 2.8
A pathname in the GLib file name encoding.
The data is owned by the caller of the function. The value is a file system path, using the OS encoding.
Permissions to use for newly created directories.