7#ifndef BOOST_NOWIDE_STAT_HPP_INCLUDED
8#define BOOST_NOWIDE_STAT_HPP_INCLUDED
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;
42 BOOST_NOWIDE_DECL
int stat(
const char* path,
stat_t* buffer,
size_t buffer_size);
43 BOOST_NOWIDE_DECL
int stat(
const char* path,
posix_stat_t* buffer,
size_t buffer_size);
54 return detail::stat(path, buffer,
sizeof(*buffer));
63 return detail::stat(path, buffer,
sizeof(*buffer));
int stat(const char *path, stat_t *buffer)
UTF-8 aware stat function, returns 0 on success.
Definition: stat.hpp:52
struct ::__stat64 stat_t
Typedef for the file info structure. Able to hold 64 bit file size and timestamps on Windows and usua...
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