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