This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: system mkdir


On 11/28/2011 01:33 PM, Christopher Faylor wrote:
>> ?But can't find anything that will programatically create a directory
>> under Cygwin.
>>
>> ?Does anyone know how to do this?
> 
> Yes.  Use the mkdir() function.  That is, in fact, very similar to how it
> should be done in Visual Studio too.

For a temporary directory, mkdtemp() might be better than mkdir(); but
either way, you still have to use rmdir() to clean up after you are done.

-- 
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]