Since only one attribute is being queried it would be simpler to just use GetAttr()
He may want to change the call to request more attributes at some point of development (happens to me all the time), so using GetAttrs() is more "future-proof".
As GetAttr() has a different order of parameters, and as it has no counterpart in "SetAttr()", I stopped using GetAttr() completely because all it does is add unnecessary confusion to code.
@salass
He may want to change the call to request more attributes at some point of development (happens to me all the time), so using GetAttrs() is more "future-proof".
As GetAttr() has a different order of parameters, and as it has no counterpart in "SetAttr()", I stopped using GetAttr() completely because all it does is add unnecessary confusion to code.
AmigaOne X5000-020 / 2GB RAM / Sapphire Pulse Radeon RX 560 / AmigaOS 4.1 Final Edition Update 2
Pages