llib-laio (0:68f95e015346) | llib-laio (1885:7bbaa5935f99) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the |
5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. | 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. |
8 * 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 * or http://www.opensolaris.org/os/licensing. 11 * See the License for the specific language governing permissions 12 * and limitations under the License. 13 * 14 * When distributing Covered Code, include this CDDL HEADER in each 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 */ | 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 * or http://www.opensolaris.org/os/licensing. 10 * See the License for the specific language governing permissions 11 * and limitations under the License. 12 * 13 * When distributing Covered Code, include this CDDL HEADER in each 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ |
21 |
|
22/* LINTLIBRARY */ 23/* PROTOLIB1 */ 24 25/* | 22/* LINTLIBRARY */ 23/* PROTOLIB1 */ 24 25/* |
26 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. | 26 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. |
27 * Use is subject to license terms. 28 */ 29 30#pragma ident "%Z%%M% %I% %E% SMI" 31 32#include <sys/types.h> 33#include <sys/stat.h> 34#include <sys/time.h> --- 13 unchanged lines hidden (view full) --- 48 aio_result_t *resultp); 49int aiowrite64(int fd, caddr_t buf, int bufsz, off64_t offset, int whence, 50 aio_result_t *resultp); 51int aiocancel(aio_result_t *resultp); 52aio_result_t *aiowait(struct timeval *uwait); 53 54/* scalls.c */ 55int _libaio_close(int fd); | 27 * Use is subject to license terms. 28 */ 29 30#pragma ident "%Z%%M% %I% %E% SMI" 31 32#include <sys/types.h> 33#include <sys/stat.h> 34#include <sys/time.h> --- 13 unchanged lines hidden (view full) --- 48 aio_result_t *resultp); 49int aiowrite64(int fd, caddr_t buf, int bufsz, off64_t offset, int whence, 50 aio_result_t *resultp); 51int aiocancel(aio_result_t *resultp); 52aio_result_t *aiowait(struct timeval *uwait); 53 54/* scalls.c */ 55int _libaio_close(int fd); |
56pid_t _libaio_fork(void); | |
57 | 56 |
58/* ma.c */ 59 | |
60/* posix_aio.c */ 61int __aio_read(aiocb_t *cb); 62int __aio_write(aiocb_t *cb); 63int __lio_listio(int mode, aiocb_t * const list[], 64 int nent, struct sigevent *sig); 65int __aio_suspend(void **list, int nent, const timespec_t *timo, int lf); 66int __aio_error(aiocb_t *cb); 67ssize_t __aio_return(aiocb_t *cb); 68int __aio_fsync(int op, aiocb_t *aiocbp); 69int __aio_cancel(int fd, aiocb_t *aiocbp); 70int __aio_waitn(void **list, uint_t nent, uint_t *nwait, | 57/* posix_aio.c */ 58int __aio_read(aiocb_t *cb); 59int __aio_write(aiocb_t *cb); 60int __lio_listio(int mode, aiocb_t * const list[], 61 int nent, struct sigevent *sig); 62int __aio_suspend(void **list, int nent, const timespec_t *timo, int lf); 63int __aio_error(aiocb_t *cb); 64ssize_t __aio_return(aiocb_t *cb); 65int __aio_fsync(int op, aiocb_t *aiocbp); 66int __aio_cancel(int fd, aiocb_t *aiocbp); 67int __aio_waitn(void **list, uint_t nent, uint_t *nwait, |
71 const struct timespec *timeout, int mode); | 68 const struct timespec *timeout); |
72int __aio_read64(aiocb64_t *cb); 73int __aio_write64(aiocb64_t *cb); 74int __lio_listio64(int mode, aiocb64_t *const list[], 75 int nent, struct sigevent *sig); 76int __aio_error64(aiocb64_t *cb); 77ssize_t __aio_return64(aiocb64_t *cb); 78int __aio_fsync64(int op, aiocb64_t *aiocbp); 79int __aio_cancel64(int fd, aiocb64_t *aiocbp); | 69int __aio_read64(aiocb64_t *cb); 70int __aio_write64(aiocb64_t *cb); 71int __lio_listio64(int mode, aiocb64_t *const list[], 72 int nent, struct sigevent *sig); 73int __aio_error64(aiocb64_t *cb); 74ssize_t __aio_return64(aiocb64_t *cb); 75int __aio_fsync64(int op, aiocb64_t *aiocbp); 76int __aio_cancel64(int fd, aiocb64_t *aiocbp); |
80 81/* sig.c */ 82 83/* subr.c */ 84int assfail(char *a, char *f, int l); | |