7 #ifndef BOOST_NOWIDE_STAT_HPP_INCLUDED 8 #define BOOST_NOWIDE_STAT_HPP_INCLUDED 11 #include <sys/types.h> 15 #if defined(__MINGW32__) && defined(__MSVCRT_VERSION__) && __MSVCRT_VERSION__ < 0x0601 22 #if !defined(BOOST_WINDOWS) && !defined(BOOST_NOWIDE_DOXYGEN) 26 typedef struct ::stat
stat_t;
31 typedef struct ::__stat64
stat_t;
42 BOOST_NOWIDE_DECL
int stat(
const char* path,
posix_stat_t* buffer,
size_t buffer_size);
51 BOOST_NOWIDE_DECL
int stat(
const char* path,
stat_t* buffer);
59 return detail::stat(path, buffer,
sizeof(*buffer));
int stat(const char *path, stat_t *buffer)
UTF-8 aware stat function, returns 0 on success.
struct ::__stat64 stat_t
Typedef for the file info structure. Able to hold 64 bit filesize and timestamps on Windows and usual...
Definition: stat.hpp:34
struct ::_stat posix_stat_t
Typedef for the file info structure used in the POSIX stat call Resolves to struct _stat on Windows a...
Definition: stat.hpp:38