From nobody Wed Mar 26 15:04:52 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZN97n5dffz5s3qr; Wed, 26 Mar 2025 15:05:09 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZN97n3RFWz3Dbt; Wed, 26 Mar 2025 15:05:09 +0000 (UTC) (envelope-from asomers@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5e5bc066283so10008939a12.0; Wed, 26 Mar 2025 08:05:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743001507; x=1743606307; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eCOxHsTneQkFWgkVQ14HO4ugfgyx6tN4CaCV7SejXLM=; b=s7rrjou5cetu6JjdJ7+sIudatmaPFmZWS9XsMRXqh+a5UtC6MAxPSytC32fIlXDP1H C9rifymSoiVnWYWgen2KsdsqeTQhZ3Ffg4H8LlP5JTukBT2SYrxsbg5PAF7jP3OLvAvr F/MLkTCM0T9ZGpp6QcTFNv7eO2xE0ZEfh3nMivd8r3LUJ+3R1X3PR97RH8qsvfyHlvO5 bAdVdFFcyloZ4InMwLAZc+VilOwdIxkC+RcKxd4VYuJhYHPvvRTHCG6cSyax//Rpx2cD uUmFbVnL2VxgpLWpcErBc1IUr2PnT9LbAMkuynp71iTutUMRJvwIR8Vow/Pz8mrMkfVQ +F2A== X-Forwarded-Encrypted: i=1; AJvYcCUHXiVyArEAShiKYNnP1scNArd946u2vwild8WXA8PDtNoVSOd5HSveDPG0DTi5Y37gTt7mPHAtgO9BsgeUNEddsnO07rs=@freebsd.org, AJvYcCXcZnCF03UGbcRhgZ9R7cxa/ONPPKtv0XwmjwWJZ3BZwjzZYrGQBgh5oi3o3gNA6sYFwHfix4seAZEXSGraGEKc3bcW@freebsd.org X-Gm-Message-State: AOJu0YzeVW8kB+cUeXBPx1ZrVgH6+9SXm9rZffng61NU6gvvzmNb1Fq8 Bi4SrzcgoYZDrUoep04COBt85gPLL/xZyiEoGrwzvJ4PQYg3mo89cW4MBkKJITvT63huWVfEIbm on1lWWvkLtpvd4/ATdmw7/fesAFuM8Ew+ X-Gm-Gg: ASbGncsusc1ZJI73MksEZzQQWM9tck4QpjDJc4Ph1DadJM2jc1u2YsypXtTakcV60Rf MWc7QCy2h8KqU9TxacqaBLqg5g8h4JFY31Y7/3ItMO9tvHybNdF59XbPdPdn35IFTGNOxEG2J8D ZNMpzoM8n0TytlcAM50CxpI+gNZA== X-Google-Smtp-Source: AGHT+IFLCaWPqSIRpxctKdZuOMUclvlIJs4Lr53azqzjHfyKesazjHFwk2aTsFN2DGcVcEdZYMLi+rHJjZXmu+jwX/o= X-Received: by 2002:a05:6402:5109:b0:5ec:f769:db07 with SMTP id 4fb4d7f45d1cf-5ecf769dc08mr7804566a12.29.1743001504362; Wed, 26 Mar 2025 08:05:04 -0700 (PDT) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 References: <202503260450.52Q4ok8C029929@gitrepo.freebsd.org> In-Reply-To: <202503260450.52Q4ok8C029929@gitrepo.freebsd.org> From: Alan Somers Date: Wed, 26 Mar 2025 09:04:52 -0600 X-Gm-Features: AQ5f1Jp9RYpaaSeY4SwdLKyAx4IPCW7xZiaZZ9F0O00w_3nGnn12drR-ZVgHN-Q Message-ID: Subject: Re: git: d97e44784bb5 - main - aio_*(2): mention ENOSYS under ERRORS To: Enji Cooper Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Content-Type: multipart/alternative; boundary="00000000000082bc6e0631402995" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4ZN97n3RFWz3Dbt X-Spamd-Bar: ---- --00000000000082bc6e0631402995 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Is this error still possible after f3215338ef82c7798bebca17a7d502cc5ef8bc18 ? How does one unload the module now? On Tue, Mar 25, 2025 at 10:51=E2=80=AFPM Enji Cooper wro= te: > The branch main has been updated by ngie: > > URL: > https://cgit.FreeBSD.org/src/commit/?id=3Dd97e44784bb5a510b7af7593c86cfbc= ff73855c4 > > commit d97e44784bb5a510b7af7593c86cfbcff73855c4 > Author: Enji Cooper > AuthorDate: 2025-03-25 21:57:52 +0000 > Commit: Enji Cooper > CommitDate: 2025-03-26 04:49:33 +0000 > > aio_*(2): mention ENOSYS under ERRORS > > ENOSYS can occur if aio(4) is not loaded in the kernel. Document this > behavior so consumers on FreeBSD can better understand that this is a > possible scenario. > > Clean up the manpages slightly while here: > - Sort `ERRORS` by errno(3). > - Use `.Fx` instead of `FreeBSD`. > > MFC after: 2 weeks > Reviewed by: ziaee > PR: 190942 > Differential Revision: https://reviews.freebsd.org/D49502 > --- > lib/libsys/aio_cancel.2 | 7 +++++++ > lib/libsys/aio_error.2 | 7 +++++++ > lib/libsys/aio_fsync.2 | 7 +++++++ > lib/libsys/aio_mlock.2 | 7 +++++++ > lib/libsys/aio_read.2 | 11 ++++++++++- > lib/libsys/aio_return.2 | 7 +++++++ > lib/libsys/aio_suspend.2 | 7 +++++++ > lib/libsys/aio_waitcomplete.2 | 11 +++++++++-- > lib/libsys/aio_write.2 | 11 ++++++++++- > 9 files changed, 71 insertions(+), 4 deletions(-) > > diff --git a/lib/libsys/aio_cancel.2 b/lib/libsys/aio_cancel.2 > index 42d074054716..928a8b325e5f 100644 > --- a/lib/libsys/aio_cancel.2 > +++ b/lib/libsys/aio_cancel.2 > @@ -80,6 +80,13 @@ The > .Fa fildes > argument > is an invalid file descriptor. > +.It Bq Er ENOSYS > +The > +.Fn aio_cancel > +system call is not supported. > +This can occur if > +.Xr aio 4 > +support is not present. > .El > .Sh SEE ALSO > .Xr aio_error 2 , > diff --git a/lib/libsys/aio_error.2 b/lib/libsys/aio_error.2 > index 69eb7cd90ee2..2579d2f33052 100644 > --- a/lib/libsys/aio_error.2 > +++ b/lib/libsys/aio_error.2 > @@ -72,6 +72,13 @@ The > .Fa iocb > argument > does not reference an outstanding asynchronous I/O request. > +.It Bq Er ENOSYS > +The > +.Fn aio_error > +system call is not supported. > +This can occur if > +.Xr aio 4 > +support is not present. > .El > .Sh SEE ALSO > .Xr aio_cancel 2 , > diff --git a/lib/libsys/aio_fsync.2 b/lib/libsys/aio_fsync.2 > index 46fc5d95bcfd..0b863773eaf2 100644 > --- a/lib/libsys/aio_fsync.2 > +++ b/lib/libsys/aio_fsync.2 > @@ -136,6 +136,13 @@ argument > is not a valid descriptor. > .It Bq Er EINVAL > This implementation does not support synchronized I/O for this file. > +.It Bq Er ENOSYS > +The > +.Fn aio_fsync > +system call is not supported. > +This can occur if > +.Xr aio 4 > +support is not present. > .El > .Pp > If the request is successfully enqueued, but subsequently cancelled > diff --git a/lib/libsys/aio_mlock.2 b/lib/libsys/aio_mlock.2 > index 02d54304c631..f89ad10936aa 100644 > --- a/lib/libsys/aio_mlock.2 > +++ b/lib/libsys/aio_mlock.2 > @@ -98,6 +98,13 @@ The request was not queued because of system resource > limitations. > The asynchronous notification method in > .Fa iocb->aio_sigevent.sigev_notify > is invalid or not supported. > +.It Bq Er ENOSYS > +The > +.Fn aio_mlock > +system call is not supported. > +This can occur if > +.Xr aio 4 > +support is not present. > .El > .Pp > If the request is successfully enqueued, but subsequently cancelled > diff --git a/lib/libsys/aio_read.2 b/lib/libsys/aio_read.2 > index 3a9601754c06..811d0b234168 100644 > --- a/lib/libsys/aio_read.2 > +++ b/lib/libsys/aio_read.2 > @@ -173,6 +173,13 @@ points outside the process's allocated address space= . > The asynchronous notification method in > .Fa iocb->aio_sigevent.sigev_notify > is invalid or not supported. > +.It Bq Er ENOSYS > +The > +.Fn aio_read > +system call is not supported. > +This can occur if > +.Xr aio 4 > +support is not present. > .It Bq Er EOPNOTSUPP > Asynchronous read operations on the file descriptor > .Fa iocb->aio_fildes > @@ -263,7 +270,9 @@ The > .Fn aio_read2 > and > .Fn aio_readv > -system calls are FreeBSD extensions, > +system calls are > +.Fx > +extensions, > and should not be used in portable code. > .Sh HISTORY > The > diff --git a/lib/libsys/aio_return.2 b/lib/libsys/aio_return.2 > index 499b85ef20d8..49e1abf201ec 100644 > --- a/lib/libsys/aio_return.2 > +++ b/lib/libsys/aio_return.2 > @@ -79,6 +79,13 @@ The I/O operation was submitted with > and the value of the > .Fa aio_lio_opcode > is invalid. > +.It Bq Er ENOSYS > +The > +.Fn aio_return > +system call is not supported. > +This can occur if > +.Xr aio 4 > +support is not present. > .El > .Sh SEE ALSO > .Xr aio_cancel 2 , > diff --git a/lib/libsys/aio_suspend.2 b/lib/libsys/aio_suspend.2 > index c46b0292c34e..ebc3c15d059f 100644 > --- a/lib/libsys/aio_suspend.2 > +++ b/lib/libsys/aio_suspend.2 > @@ -89,6 +89,13 @@ contains more asynchronous I/O requests than the > variable, or at least one of the requests is not valid. > .It Bq Er EINTR > the suspend was interrupted by a signal. > +.It Bq Er ENOSYS > +The > +.Fn aio_suspend > +system call is not supported. > +This can occur if > +.Xr aio 4 > +support is not present. > .El > .Sh SEE ALSO > .Xr aio_cancel 2 , > diff --git a/lib/libsys/aio_waitcomplete.2 b/lib/libsys/aio_waitcomplete.= 2 > index 1f20eca942ab..0a38155d7c75 100644 > --- a/lib/libsys/aio_waitcomplete.2 > +++ b/lib/libsys/aio_waitcomplete.2 > @@ -91,8 +91,6 @@ The > .Fn aio_waitcomplete > system call fails if: > .Bl -tag -width Er > -.It Bq Er EINVAL > -The specified time limit is invalid. > .It Bq Er EAGAIN > The process has not yet called > .Fn aio_read > @@ -101,6 +99,15 @@ or > .It Bq Er EINTR > A signal was delivered before the timeout expired and before any > asynchronous I/O requests completed. > +.It Bq Er EINVAL > +The specified time limit is invalid. > +.It Bq Er ENOSYS > +The > +.Fn aio_waitcomplete > +system call is not supported. > +This can occur if > +.Xr aio 4 > +support is not present. > .It Bq Er EWOULDBLOCK > .It Bq Er EINPROGRESS > The specified time limit expired before any asynchronous I/O requests > diff --git a/lib/libsys/aio_write.2 b/lib/libsys/aio_write.2 > index f59406b8ab36..a7108a87e378 100644 > --- a/lib/libsys/aio_write.2 > +++ b/lib/libsys/aio_write.2 > @@ -182,6 +182,13 @@ points outside the process's allocated address space= . > The asynchronous notification method in > .Fa iocb->aio_sigevent.sigev_notify > is invalid or not supported. > +.It Bq Er ENOSYS > +The > +.Fn aio_write > +system call is not supported. > +This can occur if > +.Xr aio 4 > +support is not present. > .It Bq Er EOPNOTSUPP > Asynchronous write operations on the file descriptor > .Fa iocb->aio_fildes > @@ -265,7 +272,9 @@ The > .Fn aio_write2 > and > .Fn aio_writev > -system calls are FreeBSD extensions, > +system calls are > +.Fx > +extensions, > and should not be used in portable code. > .Sh HISTORY > The > --00000000000082bc6e0631402995 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Is this error still possible after f3215338ef82c7798b= ebca17a7d502cc5ef8bc18 ?=C2=A0 How does one unload the module now?
On Tue, Mar 25, 2025 at 10:51=E2=80=AFPM Enji Cooper <ngie@freebsd.org> wrote:
The branch main has been upd= ated by ngie:

URL: https://cgit.= FreeBSD.org/src/commit/?id=3Dd97e44784bb5a510b7af7593c86cfbcff73855c4
commit d97e44784bb5a510b7af7593c86cfbcff73855c4
Author:=C2=A0 =C2=A0 =C2=A0Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2025-03-25 21:57:52 +0000
Commit:=C2=A0 =C2=A0 =C2=A0Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2025-03-26 04:49:33 +0000

=C2=A0 =C2=A0 aio_*(2): mention ENOSYS under ERRORS

=C2=A0 =C2=A0 ENOSYS can occur if aio(4) is not loaded in the kernel. Docum= ent this
=C2=A0 =C2=A0 behavior so consumers on FreeBSD can better understand that t= his is a
=C2=A0 =C2=A0 possible scenario.

=C2=A0 =C2=A0 Clean up the manpages slightly while here:
=C2=A0 =C2=A0 - Sort `ERRORS` by errno(3).
=C2=A0 =C2=A0 - Use `.Fx` instead of `FreeBSD`.

=C2=A0 =C2=A0 MFC after:=C2=A0 =C2=A0 =C2=A0 2 weeks
=C2=A0 =C2=A0 Reviewed by:=C2=A0 =C2=A0 ziaee
=C2=A0 =C2=A0 PR:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0190942
=C2=A0 =C2=A0 Differential Revision: https://reviews.freebsd.org/D= 49502
---
=C2=A0lib/libsys/aio_cancel.2=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 7 +++++++ =C2=A0lib/libsys/aio_error.2=C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 7 +++++++ =C2=A0lib/libsys/aio_fsync.2=C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 7 +++++++ =C2=A0lib/libsys/aio_mlock.2=C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 7 +++++++ =C2=A0lib/libsys/aio_read.2=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 11 +++++++++= +-
=C2=A0lib/libsys/aio_return.2=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 7 +++++++ =C2=A0lib/libsys/aio_suspend.2=C2=A0 =C2=A0 =C2=A0 |=C2=A0 7 +++++++
=C2=A0lib/libsys/aio_waitcomplete.2 | 11 +++++++++--
=C2=A0lib/libsys/aio_write.2=C2=A0 =C2=A0 =C2=A0 =C2=A0 | 11 ++++++++++- =C2=A09 files changed, 71 insertions(+), 4 deletions(-)

diff --git a/lib/libsys/aio_cancel.2 b/lib/libsys/aio_cancel.2
index 42d074054716..928a8b325e5f 100644
--- a/lib/libsys/aio_cancel.2
+++ b/lib/libsys/aio_cancel.2
@@ -80,6 +80,13 @@ The
=C2=A0.Fa fildes
=C2=A0argument
=C2=A0is an invalid file descriptor.
+.It Bq Er ENOSYS
+The
+.Fn aio_cancel
+system call is not supported.
+This can occur if
+.Xr aio 4
+support is not present.
=C2=A0.El
=C2=A0.Sh SEE ALSO
=C2=A0.Xr aio_error 2 ,
diff --git a/lib/libsys/aio_error.2 b/lib/libsys/aio_error.2
index 69eb7cd90ee2..2579d2f33052 100644
--- a/lib/libsys/aio_error.2
+++ b/lib/libsys/aio_error.2
@@ -72,6 +72,13 @@ The
=C2=A0.Fa iocb
=C2=A0argument
=C2=A0does not reference an outstanding asynchronous I/O request.
+.It Bq Er ENOSYS
+The
+.Fn aio_error
+system call is not supported.
+This can occur if
+.Xr aio 4
+support is not present.
=C2=A0.El
=C2=A0.Sh SEE ALSO
=C2=A0.Xr aio_cancel 2 ,
diff --git a/lib/libsys/aio_fsync.2 b/lib/libsys/aio_fsync.2
index 46fc5d95bcfd..0b863773eaf2 100644
--- a/lib/libsys/aio_fsync.2
+++ b/lib/libsys/aio_fsync.2
@@ -136,6 +136,13 @@ argument
=C2=A0is not a valid descriptor.
=C2=A0.It Bq Er EINVAL
=C2=A0This implementation does not support synchronized I/O for this file.<= br> +.It Bq Er ENOSYS
+The
+.Fn aio_fsync
+system call is not supported.
+This can occur if
+.Xr aio 4
+support is not present.
=C2=A0.El
=C2=A0.Pp
=C2=A0If the request is successfully enqueued, but subsequently cancelled diff --git a/lib/libsys/aio_mlock.2 b/lib/libsys/aio_mlock.2
index 02d54304c631..f89ad10936aa 100644
--- a/lib/libsys/aio_mlock.2
+++ b/lib/libsys/aio_mlock.2
@@ -98,6 +98,13 @@ The request was not queued because of system resource li= mitations.
=C2=A0The asynchronous notification method in
=C2=A0.Fa iocb->aio_sigevent.sigev_notify
=C2=A0is invalid or not supported.
+.It Bq Er ENOSYS
+The
+.Fn aio_mlock
+system call is not supported.
+This can occur if
+.Xr aio 4
+support is not present.
=C2=A0.El
=C2=A0.Pp
=C2=A0If the request is successfully enqueued, but subsequently cancelled diff --git a/lib/libsys/aio_read.2 b/lib/libsys/aio_read.2
index 3a9601754c06..811d0b234168 100644
--- a/lib/libsys/aio_read.2
+++ b/lib/libsys/aio_read.2
@@ -173,6 +173,13 @@ points outside the process's allocated address spa= ce.
=C2=A0The asynchronous notification method in
=C2=A0.Fa iocb->aio_sigevent.sigev_notify
=C2=A0is invalid or not supported.
+.It Bq Er ENOSYS
+The
+.Fn aio_read
+system call is not supported.
+This can occur if
+.Xr aio 4
+support is not present.
=C2=A0.It Bq Er EOPNOTSUPP
=C2=A0Asynchronous read operations on the file descriptor
=C2=A0.Fa iocb->aio_fildes
@@ -263,7 +270,9 @@ The
=C2=A0.Fn aio_read2
=C2=A0and
=C2=A0.Fn aio_readv
-system calls are FreeBSD extensions,
+system calls are
+.Fx
+extensions,
=C2=A0and should not be used in portable code.
=C2=A0.Sh HISTORY
=C2=A0The
diff --git a/lib/libsys/aio_return.2 b/lib/libsys/aio_return.2
index 499b85ef20d8..49e1abf201ec 100644
--- a/lib/libsys/aio_return.2
+++ b/lib/libsys/aio_return.2
@@ -79,6 +79,13 @@ The I/O operation was submitted with
=C2=A0and the value of the
=C2=A0.Fa aio_lio_opcode
=C2=A0is invalid.
+.It Bq Er ENOSYS
+The
+.Fn aio_return
+system call is not supported.
+This can occur if
+.Xr aio 4
+support is not present.
=C2=A0.El
=C2=A0.Sh SEE ALSO
=C2=A0.Xr aio_cancel 2 ,
diff --git a/lib/libsys/aio_suspend.2 b/lib/libsys/aio_suspend.2
index c46b0292c34e..ebc3c15d059f 100644
--- a/lib/libsys/aio_suspend.2
+++ b/lib/libsys/aio_suspend.2
@@ -89,6 +89,13 @@ contains more asynchronous I/O requests than the
=C2=A0variable, or at least one of the requests is not valid.
=C2=A0.It Bq Er EINTR
=C2=A0the suspend was interrupted by a signal.
+.It Bq Er ENOSYS
+The
+.Fn aio_suspend
+system call is not supported.
+This can occur if
+.Xr aio 4
+support is not present.
=C2=A0.El
=C2=A0.Sh SEE ALSO
=C2=A0.Xr aio_cancel 2 ,
diff --git a/lib/libsys/aio_waitcomplete.2 b/lib/libsys/aio_waitcomplete.2<= br> index 1f20eca942ab..0a38155d7c75 100644
--- a/lib/libsys/aio_waitcomplete.2
+++ b/lib/libsys/aio_waitcomplete.2
@@ -91,8 +91,6 @@ The
=C2=A0.Fn aio_waitcomplete
=C2=A0system call fails if:
=C2=A0.Bl -tag -width Er
-.It Bq Er EINVAL
-The specified time limit is invalid.
=C2=A0.It Bq Er EAGAIN
=C2=A0The process has not yet called
=C2=A0.Fn aio_read
@@ -101,6 +99,15 @@ or
=C2=A0.It Bq Er EINTR
=C2=A0A signal was delivered before the timeout expired and before any
=C2=A0asynchronous I/O requests completed.
+.It Bq Er EINVAL
+The specified time limit is invalid.
+.It Bq Er ENOSYS
+The
+.Fn aio_waitcomplete
+system call is not supported.
+This can occur if
+.Xr aio 4
+support is not present.
=C2=A0.It Bq Er EWOULDBLOCK
=C2=A0.It Bq Er EINPROGRESS
=C2=A0The specified time limit expired before any asynchronous I/O requests=
diff --git a/lib/libsys/aio_write.2 b/lib/libsys/aio_write.2
index f59406b8ab36..a7108a87e378 100644
--- a/lib/libsys/aio_write.2
+++ b/lib/libsys/aio_write.2
@@ -182,6 +182,13 @@ points outside the process's allocated address spa= ce.
=C2=A0The asynchronous notification method in
=C2=A0.Fa iocb->aio_sigevent.sigev_notify
=C2=A0is invalid or not supported.
+.It Bq Er ENOSYS
+The
+.Fn aio_write
+system call is not supported.
+This can occur if
+.Xr aio 4
+support is not present.
=C2=A0.It Bq Er EOPNOTSUPP
=C2=A0Asynchronous write operations on the file descriptor
=C2=A0.Fa iocb->aio_fildes
@@ -265,7 +272,9 @@ The
=C2=A0.Fn aio_write2
=C2=A0and
=C2=A0.Fn aio_writev
-system calls are FreeBSD extensions,
+system calls are
+.Fx
+extensions,
=C2=A0and should not be used in portable code.
=C2=A0.Sh HISTORY
=C2=A0The
--00000000000082bc6e0631402995--