ibcs2_util.h (83366) | ibcs2_util.h (92761) |
---|---|
1 2/* 3 * Copyright (c) 1994 Christos Zoulas 4 * Copyright (c) 1995 Frank van der Linden 5 * Copyright (c) 1995 Scott Bartram 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * 30 * from: svr4_util.h,v 1.5 1994/11/18 02:54:31 christos Exp 31 * from: linux_util.h,v 1.2 1995/03/05 23:23:50 fvdl Exp 32 * | 1 2/* 3 * Copyright (c) 1994 Christos Zoulas 4 * Copyright (c) 1995 Frank van der Linden 5 * Copyright (c) 1995 Scott Bartram 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * 30 * from: svr4_util.h,v 1.5 1994/11/18 02:54:31 christos Exp 31 * from: linux_util.h,v 1.2 1995/03/05 23:23:50 fvdl Exp 32 * |
33 * $FreeBSD: head/sys/i386/ibcs2/ibcs2_util.h 83366 2001-09-12 08:38:13Z julian $ | 33 * $FreeBSD: head/sys/i386/ibcs2/ibcs2_util.h 92761 2002-03-20 05:48:58Z alfred $ |
34 */ 35 36/* 37 * This file is pretty much the same as Christos' svr4_util.h 38 * (for now). 39 */ 40 41#ifndef _IBCS2_UTIL_H_ --- 37 unchanged lines hidden (view full) --- 79#ifdef DEBUG_IBCS2 80#define DPRINTF(a) printf a; 81#else 82#define DPRINTF(a) 83#endif 84 85extern const char ibcs2_emul_path[]; 86 | 34 */ 35 36/* 37 * This file is pretty much the same as Christos' svr4_util.h 38 * (for now). 39 */ 40 41#ifndef _IBCS2_UTIL_H_ --- 37 unchanged lines hidden (view full) --- 79#ifdef DEBUG_IBCS2 80#define DPRINTF(a) printf a; 81#else 82#define DPRINTF(a) 83#endif 84 85extern const char ibcs2_emul_path[]; 86 |
87int ibcs2_emul_find __P((struct thread *, caddr_t *, const char *, char *, 88 char **, int)); | 87int ibcs2_emul_find(struct thread *, caddr_t *, const char *, char *, 88 char **, int); |
89 90#define CHECKALTEXIST(p, sgp, path) \ 91 ibcs2_emul_find(td, sgp, ibcs2_emul_path, path, &(path), 0) 92 93#define CHECKALTCREAT(p, sgp, path) \ 94 ibcs2_emul_find(td, sgp, ibcs2_emul_path, path, &(path), 1) 95 96#ifdef SPX_HACK | 89 90#define CHECKALTEXIST(p, sgp, path) \ 91 ibcs2_emul_find(td, sgp, ibcs2_emul_path, path, &(path), 0) 92 93#define CHECKALTCREAT(p, sgp, path) \ 94 ibcs2_emul_find(td, sgp, ibcs2_emul_path, path, &(path), 1) 95 96#ifdef SPX_HACK |
97int spx_open __P((struct thread *td, void *uap)); | 97int spx_open(struct thread *td, void *uap); |
98#endif 99 100#endif /* !_IBCS2_UTIL_H_ */ | 98#endif 99 100#endif /* !_IBCS2_UTIL_H_ */ |