Deleted Added
full compact
stat.h (14493) stat.h (18397)
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.

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

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)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.

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

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)stat.h 8.12 (Berkeley) 6/16/95
39 * $Id: stat.h,v 1.7 1996/02/24 11:19:43 hsu Exp $
39 * $Id: stat.h,v 1.7 1996/03/11 02:15:04 hsu Exp $
40 */
41
42#ifndef _SYS_STAT_H_
43#define _SYS_STAT_H_
44
45/*
46 * XXX we need this for struct timespec. We get miscellaneous namespace
47 * pollution with it. struct timespace itself is namespace pollution if

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

93 int64_t st_blocks; /* blocks allocated for file */
94 u_int32_t st_blksize; /* optimal blocksize for I/O */
95 u_int32_t st_flags; /* user defined flags for file */
96 u_int32_t st_gen; /* file generation number */
97 int32_t st_lspare;
98 int64_t st_qspare[2];
99};
100#ifndef _POSIX_SOURCE
40 */
41
42#ifndef _SYS_STAT_H_
43#define _SYS_STAT_H_
44
45/*
46 * XXX we need this for struct timespec. We get miscellaneous namespace
47 * pollution with it. struct timespace itself is namespace pollution if

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

93 int64_t st_blocks; /* blocks allocated for file */
94 u_int32_t st_blksize; /* optimal blocksize for I/O */
95 u_int32_t st_flags; /* user defined flags for file */
96 u_int32_t st_gen; /* file generation number */
97 int32_t st_lspare;
98 int64_t st_qspare[2];
99};
100#ifndef _POSIX_SOURCE
101#define st_atime st_atimespec.ts_sec
102#define st_mtime st_mtimespec.ts_sec
103#define st_ctime st_ctimespec.ts_sec
101#define st_atime st_atimespec.tv_sec
102#define st_mtime st_mtimespec.tv_sec
103#define st_ctime st_ctimespec.tv_sec
104#endif
105
106#define S_ISUID 0004000 /* set user id on execution */
107#define S_ISGID 0002000 /* set group id on execution */
108#ifndef _POSIX_SOURCE
109#define S_ISTXT 0001000 /* sticky bit */
110#endif
111

--- 108 unchanged lines hidden ---
104#endif
105
106#define S_ISUID 0004000 /* set user id on execution */
107#define S_ISGID 0002000 /* set group id on execution */
108#ifndef _POSIX_SOURCE
109#define S_ISTXT 0001000 /* sticky bit */
110#endif
111

--- 108 unchanged lines hidden ---