toto_tata
toto_tata

Reputation: 15402

How to create a folder on Mac OSX hard drive programmatically

I need to create programmatically a folder named MY_FOLDER in the 'folder /Library/Application Support'. Somebody knows how to do this ?

Thanks !!

Upvotes: 1

Views: 1304

Answers (2)

Marcelo Cantos
Marcelo Cantos

Reputation: 185978

Use the mkdir() system call, available in <sys/stat.h>.

Upvotes: 3

Related Questions