# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" # function aio_cancel include declaration int aio_cancel(int fildes, struct aiocb *aiocbp) version SUNW_1.23 errno EBADF ENOSYS end function aio_fsync include declaration int aio_fsync(int op, aiocb_t *aiocbp) version SUNW_1.23 errno EAGAIN EBADF EINVAL ENOSYS end function aio_read include declaration int aio_read(struct aiocb *aiocbp) version SUNW_1.23 errno EAGAIN ENOSYS EBADF EINVAL ECANCELED EFBIG end function aio_write include declaration int aio_write(struct aiocb *aiocbp) version SUNW_1.23 errno EAGAIN ENOSYS EBADF EINVAL ECANCELED EFBIG end function aio_return include declaration ssize_t aio_return(struct aiocb * aiocbp) version SUNW_1.23 errno EINVAL ENOSYS end function aio_error include declaration int aio_error(const struct aiocb *aiocbp) version SUNW_1.23 errno EINVAL ENOSYS end function aio_suspend include declaration int aio_suspend(const struct aiocb *const list[], int nent, \ const struct timespec *timeout) version SUNW_1.23 errno EAGAIN EINTR ENOSYS end function posix_fallocate include declaration int posix_fallocate(int fd, off_t offset, off_t len) version SUNW_1.23 errno EBADF EFBIG EINTR EINVAL EIO ENODEV ENOSPC ESPIPE end function fdatasync include declaration int fdatasync(int fildes) version SUNW_1.23 errno EBADF EINVAL ENOSYS end function lio_listio include declaration int lio_listio(int mode, struct aiocb *const list[], int nent, \ struct sigevent *sig) version SUNW_1.23 errno EAGAIN EINVAL EINTR EIO ENOSYS ECANCELED \ EINPROGRESS EOVERFLOW EFBIG end function aio_waitn include declaration int aio_waitn(struct aiocb *list[], uint_t nent, \ uint_t *nwait, const struct timespec *timeout) version SUNW_1.23 errno EAGAIN EINTR ETIME ENOMEM EFAULT EINVAL end function aio_cancel64 extends libc/spec/rt.spec aio_cancel declaration int aio_cancel64(int fildes, struct aiocb64 *aiocbp) arch i386 sparc version SUNW_1.23 end function aio_error64 extends libc/spec/rt.spec aio_error declaration int aio_error64(const struct aiocb64 *aiocbp) arch i386 sparc version SUNW_1.23 end function aio_fsync64 extends libc/spec/rt.spec aio_fsync declaration int aio_fsync64(int op, struct aiocb64 *aiocbp) arch i386 sparc version SUNW_1.23 end function aio_read64 extends libc/spec/rt.spec aio_read declaration int aio_read64(struct aiocb64 *aiocbp) arch i386 sparc version SUNW_1.23 end function aio_return64 extends libc/spec/rt.spec aio_return declaration ssize_t aio_return64(struct aiocb64 * aiocbp) arch i386 sparc version SUNW_1.23 end function aio_suspend64 extends libc/spec/rt.spec aio_suspend declaration int aio_suspend64(const struct aiocb64 *const list[], \ int nent, const struct timespec *timeout) arch i386 sparc version SUNW_1.23 end function aio_write64 extends libc/spec/rt.spec aio_write declaration int aio_write64(struct aiocb64 *aiocbp) arch i386 sparc version SUNW_1.23 end function lio_listio64 extends libc/spec/rt.spec lio_listio declaration int lio_listio64(int mode, struct aiocb64 *const list[], \ int nent, struct sigevent *sig) arch i386 sparc version SUNW_1.23 end function aio_waitn64 extends libc/spec/rt.spec aio_waitn declaration int aio_waitn64(struct aiocb64 *list[], uint_t nent, \ uint_t *nwait, const struct timespec *timeout) arch i386 sparc version SUNW_1.23 end function posix_fallocate64 extends libc/spec/rt.spec posix_fallocate declaration int posix_fallocate64(int fd, off64_t offset, off64_t len) arch i386 sparc version SUNW_1.23 end function mq_close include declaration int mq_close(mqd_t mqdes) version SUNW_1.23 errno EBADF ENOSYS exception $return == -1 end function mq_notify include declaration int mq_notify(mqd_t mqdes, const struct sigevent *notification) version SUNW_1.23 errno EBADF EBUSY ENOSYS exception $return == -1 end function mq_open include declaration mqd_t mq_open(const char *name, int oflag, ...) version SUNW_1.23 errno EACCESS EEXIST EINTR EINVAL EMFILE ENAMETOOLONG ENFILE \ ENOENT ENOSPC ENOSYS exception $return == (mqd_t)(-1) end function mq_receive include declaration ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, \ size_t msg_len, unsigned int *msg_prio) version SUNW_1.23 errno EAGAIN EBADF EMSGSIZE EINTR exception $return == (ssize_t)(-1) end function mq_timedreceive include , declaration ssize_t mq_timedreceive(mqd_t mqdes, char *msg_ptr, \ size_t msg_len, unsigned int *msg_prio, \ const struct timespec *abs_timeout) version SUNW_1.23 errno EAGAIN EBADF EMSGSIZE EINTR ETIMEDOUT exception $return == (ssize_t)(-1) end function mq_reltimedreceive_np include , declaration ssize_t mq_reltimedreceive_np(mqd_t mqdes, char *msg_ptr, \ size_t msg_len, unsigned int *msg_prio, \ const struct timespec *rel_timeout) version SUNW_1.23 errno EAGAIN EBADF EMSGSIZE EINTR ETIMEDOUT exception $return == (ssize_t)(-1) end function mq_send include declaration int mq_send(mqd_t mqdes, const char *msg_ptr, \ size_t msg_len, unsigned int msg_prio) version SUNW_1.23 errno EAGAIN EBADF EINTR EMSGSIZE exception $return == -1 end function mq_timedsend include , declaration int mq_timedsend(mqd_t mqdes, const char *msg_ptr, \ size_t msg_len, unsigned int msg_prio, \ const struct timespec *abs_timeout) version SUNW_1.23 errno EAGAIN EBADF EINTR EMSGSIZE ETIMEDOUT exception $return == -1 end function mq_reltimedsend_np include , declaration int mq_reltimedsend_np(mqd_t mqdes, const char *msg_ptr, \ size_t msg_len, unsigned int msg_prio, \ const struct timespec *rel_timeout) version SUNW_1.23 errno EAGAIN EBADF EINTR EMSGSIZE ETIMEDOUT exception $return == -1 end function mq_setattr include declaration int mq_setattr(mqd_t mqdes, \ const struct mq_attr *_RESTRICT_KYWD mqstat, \ struct mq_attr *_RESTRICT_KYWD omqstat) version SUNW_1.23 errno EBADF ENOSYS exception $return == -1 end function mq_getattr include declaration int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat) version SUNW_1.23 errno EBADF ENOSYS exception $return == -1 end function mq_unlink include declaration int mq_unlink(const char *name) version SUNW_1.23 errno EACCESS ENAMETOOLONG ENOENT ENOSYS exception $return == -1 end function nanosleep include declaration int nanosleep(const struct timespec *rqtp, \ struct timespec *rmtp) version SUNW_1.23 errno EINTR EINVAL end function clock_nanosleep include declaration int clock_nanosleep(clockid_t clock_id, int flags, \ const struct timespec *rqtp, struct timespec *rmtp) version SUNW_1.23 errno EINTR EINVAL end function sched_get_priority_max include declaration int sched_get_priority_max(int policy) version SUNW_1.23 errno EINVAL ENOSYS ESRCH end function sched_get_priority_min include declaration int sched_get_priority_min(int policy) version SUNW_1.23 errno EINVAL ENOSYS ESRCH end function sched_rr_get_interval include declaration int sched_rr_get_interval(pid_t pid, struct timespec *interval) version SUNW_1.23 errno EINVAL ENOSYS ESRCH end function sched_setparam include declaration int sched_setparam(pid_t pid, const struct sched_param *param) version SUNW_1.23 errno EINVAL ENOSYS EPERM ESRCH end function sched_getparam include declaration int sched_getparam(pid_t pid, struct sched_param *param) version SUNW_1.23 errno EINVAL ENOSYS EPERM ESRCH end function sched_setscheduler include declaration int sched_setscheduler(pid_t pid, int policy, \ const struct sched_param *param) version SUNW_1.23 errno EINVAL ENOSYS EPERM ESRCH end function sched_getscheduler include declaration int sched_getscheduler(pid_t pid) version SUNW_1.23 errno EINVAL ENOSYS EPERM ESRCH end function sched_yield include declaration int sched_yield(void) version SUNW_1.23 errno ENOSYS end function sem_close include declaration int sem_close(sem_t *sem) version SUNW_1.23 errno EINVAL ENOSYS end function sem_destroy include declaration int sem_destroy(sem_t *sem) version SUNW_1.23 errno EINVAL ENOSYS EBUSY end function sem_getvalue include declaration int sem_getvalue(sem_t *sem, int *sval) version SUNW_1.23 errno EINVAL ENOSYS end function sem_init include , declaration int sem_init(sem_t *sem, int pshared, unsigned int value) version SUNW_1.23 errno EINVAL ENOSPC ENOSYS EPERM end function sem_open include , , declaration sem_t *sem_open(const char *name, int oflag, ...) version SUNW_1.23 errno EACCES EEXIST EINTR EINVAL EMFILE ENAMETOOLONG ENFILE \ ENOENT ENOSPC ENOSYS end function sem_post include declaration int sem_post(sem_t *sem) version SUNW_1.23 errno EINVAL ENOSYS end function sem_unlink include declaration int sem_unlink(const char *name) version SUNW_1.23 errno EACCES ENAMETOOLONG ENOENT ENOSYS end function sem_wait include declaration int sem_wait(sem_t *sem) version SUNW_1.23 errno EAGAIN EINVAL EINTR ENOSYS EDEADLK end function sem_timedwait include declaration int sem_timedwait(sem_t *sem, const timespec_t *abstime) version SUNW_1.23 errno EAGAIN EINVAL EINTR ETIMEDOUT EDEADLK end function sem_reltimedwait_np include declaration int sem_reltimedwait_np(sem_t *sem, const timespec_t *reltime) version SUNW_1.23 errno EAGAIN EINVAL EINTR ETIMEDOUT EDEADLK end function sem_trywait include declaration int sem_trywait(sem_t *sem) version SUNW_1.23 errno EAGAIN EINVAL EINTR ENOSYS EDEADLK end function shm_open include , , , declaration int shm_open(const char *name, int oflag, mode_t mode) version SUNW_1.23 errno EACCES EEXIST EINTR EINVAL EMFILE ENAMETOOLONG ENFILE \ ENOENT ENOSPC ENOSYS end function shm_unlink declaration int shm_unlink(const char *name) version SUNW_1.23 errno EACCES ENAMETOOLONG ENOENT ENOSYS end function sigqueue include declaration int sigqueue(pid_t pid, int signo, const union sigval value) version SUNW_1.23 errno EAGAIN EINVAL ENOSYS EPERM ESRCH end function sigwaitinfo include declaration int sigwaitinfo(const sigset_t *_RESTRICT_KYWD set, \ siginfo_t *_RESTRICT_KYWD info) version SUNW_1.23 errno EINTR ENOSYS EAGAIN EINVAL end function sigtimedwait include declaration int sigtimedwait(const sigset_t *_RESTRICT_KYWD set, \ siginfo_t *_RESTRICT_KYWD info, \ const struct timespec *_RESTRICT_KYWD timeout) version SUNW_1.23 errno EINTR ENOSYS EAGAIN EINVAL end function timer_create include , declaration int timer_create(clockid_t clock_id, struct sigevent *evp, \ timer_t *timerid) version SUNW_1.23 errno EAGAIN EINVAL ENOSYS end function timer_delete include declaration int timer_delete(timer_t timerid) version SUNW_1.23 errno EINVAL ENOSYS end function timer_settime include declaration int timer_settime(timer_t timerid, int flags, \ const struct itimerspec *value, \ struct itimerspec *ovalue) version SUNW_1.23 errno EINVAL ENOSYS end function timer_gettime include declaration int timer_gettime(timer_t timerid, struct itimerspec *value) version SUNW_1.23 errno EINVAL ENOSYS end function timer_getoverrun include declaration int timer_getoverrun(timer_t timerid) version SUNW_1.23 errno EINVAL ENOSYS end function clock_settime include declaration int clock_settime(clockid_t clock_id, const struct timespec *tp) version SUNW_1.23 errno EINVAL ENOSYS EPERM end function clock_gettime include declaration int clock_gettime(clockid_t clock_id, struct timespec *tp) version SUNW_1.23 errno EINVAL ENOSYS EPERM end function clock_getres include declaration int clock_getres(clockid_t clock_id, struct timespec *res) version SUNW_1.23 errno EINVAL ENOSYS EPERM end function _clock_getres version SUNWprivate_1.1 end function _clock_gettime version SUNWprivate_1.1 end function _clock_settime version SUNWprivate_1.1 end function _nanosleep version SUNWprivate_1.1 end function _clock_nanosleep version SUNWprivate_1.1 end function _timer_create version SUNWprivate_1.1 end function _timer_delete version SUNWprivate_1.1 end function _timer_getoverrun version SUNWprivate_1.1 end function _timer_gettime version SUNWprivate_1.1 end function _timer_settime version SUNWprivate_1.1 end # # Weak Specs # function _sem_open weak sem_open version SUNWprivate_1.1 end function _sem_close weak sem_close version SUNWprivate_1.1 end function _sem_unlink weak sem_unlink version SUNWprivate_1.1 end function _sem_init weak sem_init version SUNWprivate_1.1 end function _sem_destroy weak sem_destroy version SUNWprivate_1.1 end function _sem_wait weak sem_wait version SUNWprivate_1.1 end function _sem_timedwait weak sem_timedwait version SUNWprivate_1.1 end function _sem_reltimedwait_np weak sem_reltimedwait_np version SUNWprivate_1.1 end function _sem_trywait weak sem_trywait version SUNWprivate_1.1 end function _sem_post weak sem_post version SUNWprivate_1.1 end function _sem_getvalue weak sem_getvalue version SUNWprivate_1.1 end function _sigwaitinfo weak sigwaitinfo version SUNWprivate_1.1 end function _sigtimedwait weak sigtimedwait version SUNWprivate_1.1 end function _sigqueue weak sigqueue version SUNWprivate_1.1 end