Deleted Added
full compact
stat.h (189354) stat.h (189817)
1/*-
2 * Copyright (c) 1982, 1986, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 18 unchanged lines hidden (view full) ---

27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)stat.h 8.12 (Berkeley) 6/16/95
1/*-
2 * Copyright (c) 1982, 1986, 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 18 unchanged lines hidden (view full) ---

27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)stat.h 8.12 (Berkeley) 6/16/95
35 * $FreeBSD: head/sys/sys/stat.h 189354 2009-03-04 03:33:38Z das $
35 * $FreeBSD: head/sys/sys/stat.h 189817 2009-03-14 19:11:08Z das $
36 */
37
38#ifndef _SYS_STAT_H_
39#define _SYS_STAT_H_
40
41#include <sys/cdefs.h>
42#include <sys/_types.h>
43

--- 263 unchanged lines hidden (view full) ---

307#ifndef _KERNEL
308__BEGIN_DECLS
309#if __BSD_VISIBLE
310int chflags(const char *, unsigned long);
311#endif
312int chmod(const char *, mode_t);
313#if __BSD_VISIBLE
314int fchflags(int, unsigned long);
36 */
37
38#ifndef _SYS_STAT_H_
39#define _SYS_STAT_H_
40
41#include <sys/cdefs.h>
42#include <sys/_types.h>
43

--- 263 unchanged lines hidden (view full) ---

307#ifndef _KERNEL
308__BEGIN_DECLS
309#if __BSD_VISIBLE
310int chflags(const char *, unsigned long);
311#endif
312int chmod(const char *, mode_t);
313#if __BSD_VISIBLE
314int fchflags(int, unsigned long);
315#endif
316#if __POSIX_VISIBLE >= 200112
315int fchmod(int, mode_t);
316#endif
317int fchmod(int, mode_t);
318#endif
319#if __POSIX_VISIBLE >= 200809
320int fchmodat(int, const char *, mode_t, int);
321#endif
317int fstat(int, struct stat *);
318#if __BSD_VISIBLE
319int lchflags(const char *, int);
320int lchmod(const char *, mode_t);
321#endif
322#if __POSIX_VISIBLE >= 200112
323int lstat(const char * __restrict, struct stat * __restrict);
324#endif

--- 4 unchanged lines hidden (view full) ---

329#define _MKNOD_DECLARED
330#endif
331int stat(const char * __restrict, struct stat * __restrict);
332mode_t umask(mode_t);
333#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200809
334int fstatat(int, const char *, struct stat *, int);
335int mkdirat(int, const char *, mode_t);
336int mkfifoat(int, const char *, mode_t);
322int fstat(int, struct stat *);
323#if __BSD_VISIBLE
324int lchflags(const char *, int);
325int lchmod(const char *, mode_t);
326#endif
327#if __POSIX_VISIBLE >= 200112
328int lstat(const char * __restrict, struct stat * __restrict);
329#endif

--- 4 unchanged lines hidden (view full) ---

334#define _MKNOD_DECLARED
335#endif
336int stat(const char * __restrict, struct stat * __restrict);
337mode_t umask(mode_t);
338#if __BSD_VISIBLE || __POSIX_VISIBLE >= 200809
339int fstatat(int, const char *, struct stat *, int);
340int mkdirat(int, const char *, mode_t);
341int mkfifoat(int, const char *, mode_t);
342#endif
343#if __BSD_VISIBLE || __XSI_VISIBLE >= 700
337int mknodat(int, const char *, mode_t, dev_t);
338#endif
339__END_DECLS
340#endif /* !_KERNEL */
341
342#endif /* !_SYS_STAT_H_ */
344int mknodat(int, const char *, mode_t, dev_t);
345#endif
346__END_DECLS
347#endif /* !_KERNEL */
348
349#endif /* !_SYS_STAT_H_ */