Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Latest commit

 

History

History
34 lines (21 loc) · 714 Bytes

SetFileDate.md

File metadata and controls

34 lines (21 loc) · 714 Bytes

NAME

SetFileDate -- Sets the modification date for a file or dir (V36)

SYNOPSIS

    success = SetFileDate(name, date)
    D0                     D1    D2

    BOOL SetFileDate(STRPTR, struct DateStamp *)

Links: DateStamp

FUNCTION

Sets the file date for a file or directory. Note that for the Old File System and the Fast File System, the date of the root directory cannot be set. Other filesystems may not support setting the date for all files/directories.

INPUTS

name - Name of object date - New modification date

RESULT success - Success/failure indication

SEE ALSO

DateStamp, Examine, ExNext, ExAll