Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <sys/stat.h> doesn't define stat struct



Ryan Dary wrote:

> The compiler doesn't like the line:
>
> stat *fileInfo = NULL;
>
> this is when it says that 'stat' is an undefined type.
>
> Any suggestions?
>
> -- Ryan
> _______________________________________________

You probably want:

struct stat *fileInfo = NULL;

If that doesn't work then find the sys/stat.h file and have a look for the
stat definition within the header file. Hope that helps you.

[demime 0.97c removed an attachment of type text/x-vcard which had a name of thomas.lewis.vcf]


References: 
 ><sys/stat.h> doesn't define stat struct (From: Ryan Dary <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.