xref: /freebsd-src/cddl/compat/opensolaris/include/stdio.h (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
1*7141a35fSJohn Birrell /*
2*7141a35fSJohn Birrell  * Copyright (C) 2007 John Birrell <jb@freebsd.org>
3*7141a35fSJohn Birrell  * All rights reserved.
4*7141a35fSJohn Birrell  *
5*7141a35fSJohn Birrell  * Redistribution and use in source and binary forms, with or without
6*7141a35fSJohn Birrell  * modification, are permitted provided that the following conditions
7*7141a35fSJohn Birrell  * are met:
8*7141a35fSJohn Birrell  * 1. Redistributions of source code must retain the above copyright
9*7141a35fSJohn Birrell  *    notice, this list of conditions and the following disclaimer.
10*7141a35fSJohn Birrell  * 2. Redistributions in binary form must reproduce the above copyright
11*7141a35fSJohn Birrell  *    notice, this list of conditions and the following disclaimer in the
12*7141a35fSJohn Birrell  *    documentation and/or other materials provided with the distribution.
13*7141a35fSJohn Birrell  *
14*7141a35fSJohn Birrell  * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15*7141a35fSJohn Birrell  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16*7141a35fSJohn Birrell  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17*7141a35fSJohn Birrell  * ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
18*7141a35fSJohn Birrell  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19*7141a35fSJohn Birrell  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20*7141a35fSJohn Birrell  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21*7141a35fSJohn Birrell  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22*7141a35fSJohn Birrell  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23*7141a35fSJohn Birrell  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24*7141a35fSJohn Birrell  * SUCH DAMAGE.
25*7141a35fSJohn Birrell  *
26*7141a35fSJohn Birrell  */
27*7141a35fSJohn Birrell 
28*7141a35fSJohn Birrell #ifndef _COMPAT_OPENSOLARIS_STDIO_H_
29*7141a35fSJohn Birrell #define _COMPAT_OPENSOLARIS_STDIO_H_
30*7141a35fSJohn Birrell 
31*7141a35fSJohn Birrell #include_next <stdio.h>
32*7141a35fSJohn Birrell 
33*7141a35fSJohn Birrell #define ftello64	ftello
34*7141a35fSJohn Birrell #define lseek64		lseek
35*7141a35fSJohn Birrell #define fseeko64	fseeko
36*7141a35fSJohn Birrell 
37*7141a35fSJohn Birrell #endif
38