What is the D way to create a directory?

I can use the C function system("mkdir ...") but it doesn't seem very good to me.

Also, is there a way to require the root password of the user when going create the directory in a restricted folder (like /usr) AFTER the application has started?

Thank you.

Reply via email to