SetResFileAttrs
SetResFileAttrs Set resource file attributes
#include <Resources.h> Resource Manager
void SetResFileAttrs(r fRefNum, rfAttrs );
short rfRefNum ; reference number of an open resource file
short rfAttrs ; desired new attributes for the file
SetResFileAttrs sets resource file attributes. It specifies whether a
resource file is marked as read-only, has changed, or needs compacting. This
is needed rarely, since file attributes are modified automatically by the
Resource Manager.
r fRefNum identifies the resource file whose attributes you wish to modify. It
is a value obtained from OpenResFile, HomeResFile,
CurResFile or OpenRFPerm. A value of 0 refers to the system
resource file.
rfAttrs identifies the desired attributes you wish to apply to the resource
file. See below..
Returns: none (use ResError to check for success/failure)

Notes: Resource file attributes are defined as follows:
See GetResFileAttrs for related information.
In the 64K ROMs, it was necessary to set mapCompact manually if you
wanted to recover the file space that had been occupied by a resource after it
was shortened. Since this was fixed, there was little reason to modify
resource file attributes.