package stat

Import Path
	modernc.org/libc/sys/stat (on go.dev)

Dependency Relation
	imports 4 packages, and imported by one package


Package-Level Type Names (total 105, all are exported)
/* sort exporteds by: | */
type Blkcnt_t = X__darwin_blkcnt_t (basic type)
type Blksize_t = X__darwin_blksize_t (basic type)
type Dev_t = X__darwin_dev_t (basic type)
type Filesec_t = uintptr (basic type)
type Gid_t = X__darwin_gid_t (basic type)
type Ino64_t = X__darwin_ino64_t (basic type)
type Ino_t = X__darwin_ino_t (basic type)
Copyright (c) 2012 Apple Inc. All rights reserved. @APPLE_OSREFERENCE_LICENSE_HEADER_START@ This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement. Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file. The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License. @APPLE_OSREFERENCE_LICENSE_HEADER_END@
Copyright (c) 2012 Apple Inc. All rights reserved. @APPLE_OSREFERENCE_LICENSE_HEADER_START@ This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement. Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file. The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License. @APPLE_OSREFERENCE_LICENSE_HEADER_END@
Copyright (c) 2012 Apple Inc. All rights reserved. @APPLE_OSREFERENCE_LICENSE_HEADER_START@ This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement. Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file. The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License. @APPLE_OSREFERENCE_LICENSE_HEADER_END@
Basic integral types. Omit the typedef if not possible for a machine/compiler combination. Copyright (c) 2012 Apple Inc. All rights reserved. @APPLE_OSREFERENCE_LICENSE_HEADER_START@ This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement. Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file. The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License. @APPLE_OSREFERENCE_LICENSE_HEADER_END@
type Intptr_t = X__darwin_intptr_t (basic type)
type Mode_t = X__darwin_mode_t (basic type)
type Off_t = X__darwin_off_t (basic type)
XXX So deprecated, it would make your head spin The old stat structure. In fact, this is not used by the kernel at all, and should not be used by user space, and should be removed from this header file entirely (along with the unused cvtstat() prototype in vnode_internal.h). Fst_atimespec struct{Ftv_sec X__darwin_time_t; Ftv_nsec int64} Fst_blksize X__int32_t Fst_blocks X__int32_t Fst_ctimespec struct{Ftv_sec X__darwin_time_t; Ftv_nsec int64} Fst_dev X__uint16_t Fst_flags X__uint32_t Fst_gen X__uint32_t Fst_gid X__uint16_t Fst_ino Ino_t Fst_mode Mode_t Fst_mtimespec struct{Ftv_sec X__darwin_time_t; Ftv_nsec int64} Fst_nlink Nlink_t Fst_rdev X__uint16_t Fst_size X__int32_t Fst_uid X__uint16_t
type Ptrdiff_t = int64 (basic type)
type Register_t = Int64_t (basic type)
type Size_t = uint64 (basic type)
This defines the size of syscall arguments after copying into the kernel:
Copyright (c) 2003-2012 Apple Inc. All rights reserved. @APPLE_OSREFERENCE_LICENSE_HEADER_START@ This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement. Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file. The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License. @APPLE_OSREFERENCE_LICENSE_HEADER_END@ Copyright (c) 2000-2007 Apple Inc. All rights reserved. @APPLE_OSREFERENCE_LICENSE_HEADER_START@ This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement. Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file. The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License. @APPLE_OSREFERENCE_LICENSE_HEADER_END@ Copyright 1995 NeXT Computer, Inc. All rights reserved.
Ftv_nsec int64 Ftv_sec time.X__darwin_time_t
Copyright (c) 2012 Apple Inc. All rights reserved. @APPLE_OSREFERENCE_LICENSE_HEADER_START@ This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement. Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file. The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License. @APPLE_OSREFERENCE_LICENSE_HEADER_END@
Copyright (c) 2012 Apple Inc. All rights reserved. @APPLE_OSREFERENCE_LICENSE_HEADER_START@ This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement. Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file. The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License. @APPLE_OSREFERENCE_LICENSE_HEADER_END@
Copyright (c) 2012 Apple Inc. All rights reserved. @APPLE_OSREFERENCE_LICENSE_HEADER_START@ This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement. Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file. The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License. @APPLE_OSREFERENCE_LICENSE_HEADER_END@
Copyright (c) 2016 Apple Inc. All rights reserved. @APPLE_OSREFERENCE_LICENSE_HEADER_START@ This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement. Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file. The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License. @APPLE_OSREFERENCE_LICENSE_HEADER_END@
type Uid_t = X__darwin_uid_t (basic type)
Copyright (c) 2003-2012 Apple Inc. All rights reserved. @APPLE_OSREFERENCE_LICENSE_HEADER_START@ This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement. Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file. The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License. @APPLE_OSREFERENCE_LICENSE_HEADER_END@
These types are used for reserving the largest possible size.
type User_long_t = Int64_t (basic type)
type User_off_t = Int64_t (basic type)
type User_size_t = U_int64_t (basic type)
type User_ssize_t = Int64_t (basic type)
type User_time_t = Int64_t (basic type)
type User_ulong_t = U_int64_t (basic type)
type Wchar_t = int32 (basic type)
type X__builtin_va_list = uintptr (basic type)
type X__darwin_blkcnt_t = X__int64_t (basic type)
type X__darwin_blksize_t = X__int32_t (basic type)
type X__darwin_clock_t = uint64 (basic type)
type X__darwin_ct_rune_t = int32 (basic type)
type X__darwin_dev_t = X__int32_t (basic type)
type X__darwin_fsblkcnt_t = uint32 (basic type)
type X__darwin_fsfilcnt_t = uint32 (basic type)
type X__darwin_gid_t = X__uint32_t (basic type)
type X__darwin_id_t = X__uint32_t (basic type)
type X__darwin_ino64_t = X__uint64_t (basic type)
type X__darwin_ino_t = X__darwin_ino64_t (basic type)
type X__darwin_intptr_t = int64 (basic type)
F__mbstate8 [128]int8
type X__darwin_mode_t = X__uint16_t (basic type)
type X__darwin_natural_t = uint32 (basic type)
type X__darwin_off_t = X__int64_t (basic type)
type X__darwin_pid_t = X__int32_t (basic type)
F__opaque [56]int8 F__sig int64
F__opaque [40]int8 F__sig int64
F__opaque [8]int8 F__sig int64
F__arg uintptr F__next uintptr F__routine uintptr
type X__darwin_pthread_key_t = uint64 (basic type)
F__opaque [56]int8 F__sig int64
F__opaque [8]int8 F__sig int64
F__opaque [8]int8 F__sig int64
F__opaque [192]int8 F__sig int64
F__opaque [16]int8 F__sig int64
type X__darwin_pthread_t = uintptr (basic type)
type X__darwin_ptrdiff_t = int64 (basic type)
type X__darwin_rune_t = X__darwin_wchar_t (basic type)
type X__darwin_sigset_t = X__uint32_t (basic type)
type X__darwin_size_t = uint64 (basic type)
type X__darwin_socklen_t = X__uint32_t (basic type)
type X__darwin_ssize_t = int64 (basic type)
type X__darwin_suseconds_t = X__int32_t (basic type)
type X__darwin_time_t = int64 (basic type)
type X__darwin_uid_t = X__uint32_t (basic type)
type X__darwin_useconds_t = X__uint32_t (basic type)
type X__darwin_uuid_string_t = ([...]T)
type X__darwin_uuid_t = ([...]T)
type X__darwin_wchar_t = int32 (basic type)
type X__darwin_wint_t = int32 (basic type)
type X__float128 = float64 (basic type)
Fhi int64 Flo int64
type X__int16_t = int16 (basic type)
type X__int32_t = int32 (basic type)
type X__int64_t = int64 (basic type)
type X__int8_t = int8 (basic type)
mbstate_t is an opaque object to keep conversion state, during multibyte stream conversions. The content must not be referenced by user programs. F__mbstate8 [128]int8
Fhi uint64 Flo uint64
type X__uint16_t = uint16 (basic type)
type X__uint32_t = uint32 (basic type)
type X__uint64_t = uint64 (basic type)
type X__uint8_t = uint8 (basic type)
F__opaque [56]int8 F__sig int64
F__opaque [40]int8 F__sig int64
F__opaque [8]int8 F__sig int64
F__opaque [56]int8 F__sig int64
F__opaque [8]int8 F__sig int64
F__opaque [8]int8 F__sig int64
F__opaque [192]int8 F__sig int64
F__opaque [16]int8 F__sig int64
F__cleanup_stack uintptr F__opaque [8176]int8 F__sig int64
Package-Level Variables (only one, which is exported)
var CAPI map[string]struct{}
Package-Level Constants (total 96, all are exported)
const ACCESSPERMS = 511
const ALLPERMS = 4095
const DEFFILEMODE = 438
const EF_IS_PURGEABLE = 8
const EF_IS_SPARSE = 16
const EF_IS_SYNC_ROOT = 4
const EF_NO_XATTRS = 2
const S_BLKSIZE = 512
const S_IEXEC = 64
const S_IFBLK = 24576
const S_IFCHR = 8192
const S_IFDIR = 16384
const S_IFIFO = 4096
const S_IFLNK = 40960
const S_IFMT = 61440
const S_IFREG = 32768
const S_IFSOCK = 49152
const S_IFWHT = 57344
const S_IREAD = 256
const S_IRGRP = 32
const S_IROTH = 4
const S_IRUSR = 256
const S_IRWXG = 56
const S_IRWXO = 7
const S_IRWXU = 448
const S_ISGID = 1024
const S_ISTXT = 512
const S_ISUID = 2048
const S_ISVTX = 512
const S_IWGRP = 16
const S_IWOTH = 2
const S_IWRITE = 128
const S_IWUSR = 128
const S_IXGRP = 8
const S_IXOTH = 1
const S_IXUSR = 64
const SF_APPEND = 262144
const SF_ARCHIVED = 65536
const SF_DATALESS = 1073741824
const SF_IMMUTABLE = 131072
const SF_RESTRICTED = 524288
const SF_SETTABLE = 1073676288
const SF_SUPPORTED = 10420224
const SF_SYNTHETIC = 3221225472
const UF_APPEND = 4
const UF_COMPRESSED = 32
const UF_DATAVAULT = 128
const UF_HIDDEN = 32768
const UF_IMMUTABLE = 2
const UF_NODUMP = 1
const UF_OPAQUE = 8
const UF_SETTABLE = 65535
const UF_TRACKED = 64
const UTIME_NOW = -1
const UTIME_OMIT = -2
const X_BLKCNT_T = 0
const X_BLKSIZE_T = 0
const X_CDEFS_H_ = 0
const X_DEV_T = 0
const X_FILE_OFFSET_BITS = 64
const X_FILESEC_T = 0
const X_GID_T = 0
const X_INO64_T = 0
const X_INO_T = 0
const X_INT16_T = 0
const X_INT32_T = 0
const X_INT64_T = 0
const X_INT8_T = 0
const X_INTPTR_T = 0
const X_LP64 = 1
const X_MACHTYPES_H_ = 0
const X_MODE_T = 0
const X_Nonnull = 0
const X_Nullable = 0
const X_OFF_T = 0
const X_SYS__TYPES_H_ = 0
const X_SYS_STAT_H_ = 0
const X_TIME_T = 0
const X_U_INT16_T = 0
const X_U_INT32_T = 0
const X_U_INT64_T = 0
const X_U_INT8_T = 0
const X_UID_T = 0
const X_UINTPTR_T = 0