Share via


last_write_time 함수

Determines the last write time for a specified file.

template<class Path>
inline time_t last_write_time(
   const Path& Pval
);

매개 변수

  • Pval
    Path 개체 Path는 basic_path 또는 basic_path에서 파생된 형식 중 하나일 수 있습니다.

반환 값

A time_t value that holds the last write time for the file that's specified by Pval, or 0 if the time cannot be determined.

요구 사항

헤더: filesystem

네임스페이스: std::tr2::sys

참고 항목

참조

<filesystem>

기타 리소스

C++ 표준 라이브러리 헤더 파일