Stores the provided data in the object. In particular, for strings, the pointer is stored, not the referenced string.
As above, except that the referenced data is copied into the object.
Returns the specified data. In the case of strings, a const-qualified pointer to the string is returned.
String data can be set or accessed as wide character strings or normal char strings. The functions that use wide character strings are suffixed with _w. Note that these are different representations of the same data: For example, if you store a narrow string and read the corresponding wide string, the object will transparently convert formats using the current locale. Similarly, if you store a wide string and then store a narrow string for the same data, the previously-set wide string will be discarded in favor of the new data.
There are a few set/get functions that merit additional description:
This function sets the symlink field if it is already set. Otherwise, it sets the hardlink field.