Creates a new alias record, given a target file or directory.
- macOS 10.0–10.8Deprecated
- Core Services
A pointer to the starting point for a relative search. You may pass
NULLif you do not need relative search information in the alias record. The files or directories specified in the
targetparameters must reside on the same volume.
A pointer to the target file or directory of the alias.
A pointer to an alias handle. On return, this handle refers to the newly created alias record. If the function fails to create an alias record, it sets
A result code. If the specified target is valid, this function creates an alias record for the target and returns
no. Any other return value indicates that this function did not create an alias record.
FSNew function creates an alias record that describes the specified target. It allocates the storage, fills in the record, and puts a record handle to that storage in the
FSNew records the full pathname of the target and a collection of other information relevant to locating the target, verifying the target, and mounting the target’s volume, if necessary. You can have
FSNew store relative search information as well by supplying a starting point for a relative search.