| Home
| Previous
| Next
| Up

PM_setFileAttr

Function to change the file attributes for a specific file.

Declaration

void PMAPI PM_setFileAttr(
const char *filename,
uint attrib)

Prototype In

pmapi.h

Parameters

filename | Full path to filename for file to change
attrib | New attributes for the file (PMFileFlagsType)

Description

This function is used to file attributes for a specific file to the values passed in the attribute parameter (a combination of flags defined in PMFileFlagsType). Under Unix system some of these flags are igonred, such as the hidden and system attributes.

See Also

PM_getFileAttr

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com