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 (the "License"). 6 * You may not use this file except in compliance with the License. 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 /* 23 * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. 24 */ 25 26 #ifndef _S10_MISC_H 27 #define _S10_MISC_H 28 29 #ifdef __cplusplus 30 extern "C" { 31 #endif 32 33 #if !defined(_ASM) 34 35 /* 36 * From s10_deleted.c 37 */ 38 extern int s10_stat(); 39 extern int s10_lstat(); 40 extern int s10_fstat(); 41 extern int s10_stat64(); 42 extern int s10_lstat64(); 43 extern int s10_fstat64(); 44 extern int s10_open(); 45 extern int s10_open64(); 46 extern int s10_chmod(); 47 extern int s10_fchmod(); 48 extern int s10_chown(); 49 extern int s10_lchown(); 50 extern int s10_fchown(); 51 extern int s10_mkdir(); 52 extern int s10_mknod(); 53 extern int s10_link(); 54 extern int s10_unlink(); 55 extern int s10_symlink(); 56 extern int s10_readlink(); 57 extern int s10_rmdir(); 58 extern int s10_rename(); 59 extern int s10_access(); 60 extern int s10_creat(); 61 extern int s10_creat64(); 62 extern int s10_fork1(); 63 extern int s10_forkall(); 64 extern int s10_dup(); 65 extern int s10_poll(); 66 extern int s10_lwp_mutex_lock(); 67 extern int s10_lwp_sema_wait(); 68 extern int s10_utime(); 69 extern int s10_utimes(); 70 extern int s10_xstat(); 71 extern int s10_lxstat(); 72 extern int s10_fxstat(); 73 extern int s10_xmknod(); 74 extern int s10_fsat(); 75 extern int s10_umount(); 76 77 /* 78 * From s10_signal.c 79 */ 80 extern int s10sigset_to_native(const sigset_t *, sigset_t *); 81 82 extern int s10_kill(); 83 extern int s10_lwp_create(); 84 extern int s10_lwp_kill(); 85 extern int s10_lwp_sigmask(); 86 extern int s10_sigaction(); 87 extern int s10_signotify(); 88 extern int s10_sigpending(); 89 extern int s10_sigprocmask(); 90 extern int s10_sigqueue(); 91 extern int s10_sigsendsys(); 92 extern int s10_sigsuspend(); 93 extern int s10_sigtimedwait(); 94 extern int s10_wait(); 95 extern int s10_waitid(); 96 97 #endif /* !_ASM */ 98 99 #ifdef __cplusplus 100 } 101 #endif 102 103 #endif /* _S10_MISC_H */ 104