Page MenuHomeFreeBSD

symlink.2: document EOPNOTSUPP
ClosedPublic

Authored by tuexen on Apr 12 2025, 6:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 4, 7:23 AM
Unknown Object (File)
Aug 3 2025, 2:35 AM
Unknown Object (File)
Jul 27 2025, 6:52 AM
Unknown Object (File)
Jul 27 2025, 2:05 AM
Unknown Object (File)
Jul 10 2025, 4:43 AM
Unknown Object (File)
Jul 10 2025, 1:42 AM
Unknown Object (File)
Jul 9 2025, 8:46 AM
Unknown Object (File)
Jul 2 2025, 3:40 PM
Subscribers

Details

Summary

When the file system does not support symbolic links (like in the case of MSDOS), symlink() returns -1 and sets errno to EOPNOTSUPP. Document this behavior.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

This revision is now accepted and ready to land.Apr 12 2025, 7:01 PM
lib/libsys/symlink.2
97

Use correct argument as reported by markj.

This revision now requires review to proceed.Apr 14 2025, 10:18 AM
tuexen added inline comments.
lib/libsys/symlink.2
97

Fixed. I was reusing the text from link.2 not catching the difference.

This revision is now accepted and ready to land.Apr 14 2025, 1:39 PM
This revision was automatically updated to reflect the committed changes.
tuexen marked an inline comment as done.