Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libc/sys/aio_mlock.2
Show All 18 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd July 15, 2016 | .Dd July 21, 2016 | ||||
.Dt AIO_MLOCK 2 | .Dt AIO_MLOCK 2 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm aio_mlock | .Nm aio_mlock | ||||
.Nd asynchronous | .Nd asynchronous | ||||
.Xr mlock 2 | .Xr mlock 2 | ||||
operation | operation | ||||
.Sh LIBRARY | .Sh LIBRARY | ||||
▲ Show 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | |||||
system call will fail if: | system call will fail if: | ||||
.Bl -tag -width Er | .Bl -tag -width Er | ||||
.It Bq Er EAGAIN | .It Bq Er EAGAIN | ||||
The request was not queued because of system resource limitations. | The request was not queued because of system resource limitations. | ||||
.It Bq Er EINVAL | .It Bq Er EINVAL | ||||
The asynchronous notification method in | The asynchronous notification method in | ||||
.Fa iocb->aio_sigevent.sigev_notify | .Fa iocb->aio_sigevent.sigev_notify | ||||
is invalid or not supported. | is invalid or not supported. | ||||
.It Bq Er ENOSYS | |||||
The | |||||
.Fn aio_mlock | |||||
system call is not supported. | |||||
.El | .El | ||||
.Pp | .Pp | ||||
If the request is successfully enqueued, but subsequently cancelled | If the request is successfully enqueued, but subsequently cancelled | ||||
or an error occurs, the value returned by the | or an error occurs, the value returned by the | ||||
.Fn aio_return | .Fn aio_return | ||||
system call is per the | system call is per the | ||||
.Xr mlock 2 | .Xr mlock 2 | ||||
system call, and the value returned by the | system call, and the value returned by the | ||||
Show All 28 Lines |