acl  3.5.3.0
acl_define_bsd.h
浏览该文件的文档.
1 #ifndef ACL_DEFINE_BSD_INCLUDE_H
2 #define ACL_DEFINE_BSD_INCLUDE_H
3 
4 #if defined(FREEBSD) || defined(__FreeBSD__)
5 # define ACL_UNIX
6 # define ACL_FREEBSD
7 
8 # include <sys/types.h>
9 # define ACL_USE_PATHS_H
10 # define ACL_HAS_FLOCK_LOCK
11 # define ACL_HAS_FCNTL_LOCK
12 # define ACL_INTERNAL_LOCK ACL_FLOCK_STYLE_FLOCK
13 # define ACL_ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin"
14 # define ACL_PATH_MAILDIR "/var/mail"
15 # define ACL_PATH_BSHELL "/bin/sh"
16 # define ACL_PATH_DEFPATH "/usr/bin:/usr/bsd"
17 # define ACL_PATH_STDPATH "/usr/bin:/usr/sbin:/usr/bsd"
18 # define ACL_HAVE_NO_STAT64
19 
20 # ifdef ACL_HAVE_NO_STAT64
21 # define acl_stat stat
22 # define acl_fstat fstat
23 # else
24 # define acl_stat stat64
25 # define acl_fstat fstat64
26 # endif
27 
28 # ifndef ACL_WAIT_STATUS_T
29  typedef int ACL_WAIT_STATUS_T;
30 # define ACL_NORMAL_EXIT_STATUS(status) !(status)
31 # endif
32 
33 # define ACL_FIONREAD_IN_TERMIOS_H
34 # define ACL_HAVE_NO_RWLOCK
35 
36 #endif
37 
38 #endif /* __ACL_DEFINE_BSD_INCLUDE_H__ */
39