Article View: borland.public.cppbuilder.nativeapi
Article #889Re: Cannot retrieve file date
From: Ed Mulroy [TeamB]
Date: Thu, 03 Jan 2008 15:09
Date: Thu, 03 Jan 2008 15:09
14 lines
1594 bytes
1594 bytes
Yes, just as was done in the example where fileno() was used to convert to an int to pass to _get_osfhandle(), which, like fstat() is an extension supplied with the compiler. . Ed > Remy Lebeau wrote in message > news:477c59d0$1@newsgroups.borland.com... > >> Also note that he was using FILE* access and neither >> stat nor fstat takes a FILE* argument. > > Not directly, but you can use fileno() to convert a FILE* into an int that > fstat() will take.
Technical Details
Message-ID:
<477cfac8$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<hfonn3l8o175ht0j11i9d4q5msanpr6apt@4ax.com> <477c0a92$1@newsgroups.borland.com> <f05on3tbpa6au45ii99v71rsn5k89d2ut7@4ax.com> <477c1ea9$1@newsgroups.borland.com> <477c2759$1@newsgroups.borland.com> <477c2bea@newsgroups.borland.com> <477c59d0$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4011bf1b28cc5925 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> Newsgroups: borland.public.cppbuilder.nativeapi References: <hfonn3l8o175ht0j11i9d4q5msanpr6apt@4ax.com> <477c0a92$1@newsgroups.borland.com> <f05on3tbpa6au45ii99v71rsn5k89d2ut7@4ax.com> <477c1ea9$1@newsgroups.borland.com> <477c2759$1@newsgroups.borland.com> <477c2bea@newsgroups.borland.com> <477c59d0$1@newsgroups.borland.com> Subject: Re: Cannot retrieve file date Date: Thu, 3 Jan 2008 10:09:58 -0500 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 71.77.53.190 Message-ID: <477cfac8$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1199373000 71.77.53.190 (3 Jan 2008 07:10:00 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail