FileIsReadOnlyUTF8 function
Determines if the specified file is marked as read-only.
Declaration
function FileIsReadOnlyUTF8(const FileName: string): BooleanDescription
FileIsReadOnlyUTF8 is a
Boolean function used to
determine if the specified file is marked as read-only in the local file
system. FileIsReadOnlyUTF8 calls FileGetAttrUTF8 for the specified file name
and checks to see if faReadOnly has been included in the file attributes
value. The return value is
True when faReadOnly has been included in
the file attributes.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
