xref: /netbsd-src/external/cddl/osnet/sys/sys/stat.h (revision ba2539a9805a0544ff82c0003cc02fe1eee5603d)
1*ba2539a9Schs /*	$NetBSD: stat.h,v 1.4 2018/05/28 21:05:10 chs Exp $	*/
201c9547eSdarran 
3fc8ec0b8Shaad /*
4fc8ec0b8Shaad  * Copyright (C) 2007 John Birrell <jb@freebsd.org>
5fc8ec0b8Shaad  * All rights reserved.
6fc8ec0b8Shaad  *
7fc8ec0b8Shaad  * Redistribution and use in source and binary forms, with or without
8fc8ec0b8Shaad  * modification, are permitted provided that the following conditions
9fc8ec0b8Shaad  * are met:
10fc8ec0b8Shaad  * 1. Redistributions of source code must retain the above copyright
11fc8ec0b8Shaad  *    notice, this list of conditions and the following disclaimer.
12fc8ec0b8Shaad  * 2. Redistributions in binary form must reproduce the above copyright
13fc8ec0b8Shaad  *    notice, this list of conditions and the following disclaimer in the
14fc8ec0b8Shaad  *    documentation and/or other materials provided with the distribution.
15fc8ec0b8Shaad  *
16fc8ec0b8Shaad  * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17fc8ec0b8Shaad  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18fc8ec0b8Shaad  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19fc8ec0b8Shaad  * ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
20fc8ec0b8Shaad  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21fc8ec0b8Shaad  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22fc8ec0b8Shaad  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23fc8ec0b8Shaad  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24fc8ec0b8Shaad  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25fc8ec0b8Shaad  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26fc8ec0b8Shaad  * SUCH DAMAGE.
27fc8ec0b8Shaad  *
28*ba2539a9Schs  * $FreeBSD: head/sys/cddl/compat/opensolaris/sys/stat.h 219089 2011-02-27 19:41:40Z pjd $
29fc8ec0b8Shaad  *
30fc8ec0b8Shaad  */
31fc8ec0b8Shaad 
32fc8ec0b8Shaad #ifndef _COMPAT_OPENSOLARIS_SYS_STAT_H_
33fc8ec0b8Shaad #define _COMPAT_OPENSOLARIS_SYS_STAT_H_
34fc8ec0b8Shaad 
35fc8ec0b8Shaad #include_next <sys/stat.h>
36fc8ec0b8Shaad 
37fc8ec0b8Shaad #define	stat64	stat
38fc8ec0b8Shaad #define	fstat64	fstat
39fc8ec0b8Shaad 
4001c9547eSdarran #define SF_NOUNLINK 0x00100000
4101c9547eSdarran 
42fc8ec0b8Shaad #endif
43