If "native", you mean in the standard C library, then no. File "attributes" is an OS-specific extension, so it will not be displayed in any standard set of functions. If we want to extend our interface to POSIX, that is, functions such as fchmod, but this only handles UNIX-style file modes that are not as expressive as Windows file attributes.
In general, you can answer any question about the form "Is there a STANDARD function / object for OS-FEATURES", saying: "It is possible if STANDARD exists only for the OS. Otherwise, no."
Adam wright
source share