delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-7.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4ED3F409.5020309@redhat.com> |
Date: | Mon, 28 Nov 2011 13:50:17 -0700 |
From: | Eric Blake <eblake AT redhat DOT com> |
User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: system mkdir |
References: | <CAKfLWNo3MTYWNZj0G-giFSe8PkBsP+0P1J+C9u-nrvo0JfrZnw AT mail DOT gmail DOT com> <CAKfLWNqbU2SAYByjgaXLvLxZFQnNvHfWG+7ww_ORWpdBWpKy4Q AT mail DOT gmail DOT com> <20111128203357 DOT GB8758 AT ednor DOT casa DOT cgf DOT cx> |
In-Reply-To: | <20111128203357.GB8758@ednor.casa.cgf.cx> |
OpenPGP: | url=http://people.redhat.com/eblake/eblake.gpg |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--------------enig9EA573715F583CA38AD34DE7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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? >=20 > 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. --=20 Eric Blake eblake AT redhat DOT com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig9EA573715F583CA38AD34DE7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJO0/QJAAoJEKeha0olJ0NqkkcH/3mKWT9bJffs4GJF6+BzHNBe Y7Z1WZLqGFMRLDphPbZGI4AW4+l8hEnxDII+3urSSWIgIQVR0g7r/sWjmOD0a7Lm uVqM2tBB5GuTpXaQvC42YgZCzcBOYD0Z6lqM1G4SNxUXyN/ekQrxHDvmW9XYRZ74 w+jJqMG3hQMSjAYo4sy8rAvDzHTsF1zzavKFt3gjCLjBhsu7lf1DbXrYAanR2H1H EGYJGRtL6jhy5x2EO1MOTd4ybRMqHfK9Ux95Pmor2u0mu89iHdDYfR+Im7XQeBCg 2an6CHu72lF90ABvQ0w7WtEqdJVCWFDR0FdBEFvvMNJrTD2ccrXBsU1syCWyRK0= =0n1j -----END PGP SIGNATURE----- --------------enig9EA573715F583CA38AD34DE7--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |