diff --git a/lib/libsys/open.2 b/lib/libsys/open.2 --- a/lib/libsys/open.2 +++ b/lib/libsys/open.2 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd January 29, 2024 +.Dd August 25, 2024 .Dt OPEN 2 .Os .Sh NAME @@ -580,6 +580,12 @@ .Dv O_EXEC or .Dv O_SEARCH . +.It Bq Er EINVAL +.Dv O_CREAT +is specified, +and a component of the +.Fa path +argument is invalid on the file system on which the file is being created. .It Bq Er EBADF The .Fa path diff --git a/lib/libsys/rename.2 b/lib/libsys/rename.2 --- a/lib/libsys/rename.2 +++ b/lib/libsys/rename.2 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd March 30, 2020 +.Dd August 25, 2024 .Dt RENAME 2 .Os .Sh NAME @@ -255,6 +255,10 @@ .Ql .\& or .Ql \&.. . +.It Bq Er EINVAL +A component of the +.Fa to +path is invalid on the target file system. .It Bq Er ENOTEMPTY The .Fa to