Documentation ¶
Index ¶
- Constants
- Variables
- func X_tr_align(tls *libc.TLS, s uintptr)
- func X_tr_flush_bits(tls *libc.TLS, s uintptr)
- func X_tr_flush_block(tls *libc.TLS, s uintptr, buf uintptr, stored_len Ulg, last int32)
- func X_tr_init(tls *libc.TLS, s uintptr)
- func X_tr_stored_block(tls *libc.TLS, s uintptr, buf uintptr, stored_len Ulg, last int32)
- func X_tr_tally(tls *libc.TLS, s uintptr, dist uint32, lc uint32) int32
- func Xcompress(tls *libc.TLS, dest uintptr, destLen uintptr, source uintptr, sourceLen ULong) int32
- func Xcompress2(tls *libc.TLS, dest uintptr, destLen uintptr, source uintptr, sourceLen ULong, ...) int32
- func Xcrc32(tls *libc.TLS, crc uint64, buf uintptr, len UInt) uint64
- func Xcrc32_z(tls *libc.TLS, crc uint64, buf uintptr, len Z_size_t) uint64
- func Xdeflate(tls *libc.TLS, strm Z_streamp, flush int32) int32
- func XdeflateCopy(tls *libc.TLS, dest Z_streamp, source Z_streamp) int32
- func XdeflateEnd(tls *libc.TLS, strm Z_streamp) int32
- func XdeflateGetDictionary(tls *libc.TLS, strm Z_streamp, dictionary uintptr, dictLength uintptr) int32
- func XdeflateInit2_(tls *libc.TLS, strm Z_streamp, level int32, method int32, windowBits int32, ...) int32
- func XdeflateInit_(tls *libc.TLS, strm Z_streamp, level int32, version uintptr, stream_size int32) int32
- func XdeflateParams(tls *libc.TLS, strm Z_streamp, level int32, strategy int32) int32
- func XdeflatePending(tls *libc.TLS, strm Z_streamp, pending uintptr, bits uintptr) int32
- func XdeflatePrime(tls *libc.TLS, strm Z_streamp, bits int32, value int32) int32
- func XdeflateReset(tls *libc.TLS, strm Z_streamp) int32
- func XdeflateResetKeep(tls *libc.TLS, strm Z_streamp) int32
- func XdeflateSetDictionary(tls *libc.TLS, strm Z_streamp, dictionary uintptr, dictLength UInt) int32
- func XdeflateSetHeader(tls *libc.TLS, strm Z_streamp, head Gz_headerp) int32
- func XdeflateTune(tls *libc.TLS, strm Z_streamp, good_length int32, max_lazy int32, ...) int32
- func Xget_crc_table(tls *libc.TLS) uintptr
- func Xgz_error(tls *libc.TLS, state Gz_statep, err int32, msg uintptr)
- func Xgzbuffer(tls *libc.TLS, file GzFile, size uint32) int32
- func Xgzclearerr(tls *libc.TLS, file GzFile)
- func Xgzclose(tls *libc.TLS, file GzFile) int32
- func Xgzclose_r(tls *libc.TLS, file GzFile) int32
- func Xgzclose_w(tls *libc.TLS, file GzFile) int32
- func Xgzdirect(tls *libc.TLS, file GzFile) int32
- func Xgzeof(tls *libc.TLS, file GzFile) int32
- func Xgzerror(tls *libc.TLS, file GzFile, errnum uintptr) uintptr
- func Xgzflush(tls *libc.TLS, file GzFile, flush int32) int32
- func Xgzgetc(tls *libc.TLS, file GzFile) int32
- func Xgzgetc_(tls *libc.TLS, file GzFile) int32
- func Xgzgets(tls *libc.TLS, file GzFile, buf uintptr, len int32) uintptr
- func Xgzprintf(tls *libc.TLS, file GzFile, format uintptr, va uintptr) int32
- func Xgzputc(tls *libc.TLS, file GzFile, c int32) int32
- func Xgzputs(tls *libc.TLS, file GzFile, str uintptr) int32
- func Xgzread(tls *libc.TLS, file GzFile, buf Voidp, len uint32) int32
- func Xgzrewind(tls *libc.TLS, file GzFile) int32
- func Xgzsetparams(tls *libc.TLS, file GzFile, level int32, strategy int32) int32
- func Xgzungetc(tls *libc.TLS, c int32, file GzFile) int32
- func Xgzvprintf(tls *libc.TLS, file GzFile, format uintptr, va Va_list) int32
- func Xgzwrite(tls *libc.TLS, file GzFile, buf Voidpc, len uint32) int32
- func Xinflate(tls *libc.TLS, strm Z_streamp, flush int32) int32
- func XinflateBack(tls *libc.TLS, strm Z_streamp, in In_func, in_desc uintptr, out Out_func, ...) int32
- func XinflateBackEnd(tls *libc.TLS, strm Z_streamp) int32
- func XinflateBackInit_(tls *libc.TLS, strm Z_streamp, windowBits int32, window uintptr, ...) int32
- func XinflateCodesUsed(tls *libc.TLS, strm Z_streamp) uint64
- func XinflateCopy(tls *libc.TLS, dest Z_streamp, source Z_streamp) int32
- func XinflateEnd(tls *libc.TLS, strm Z_streamp) int32
- func XinflateGetDictionary(tls *libc.TLS, strm Z_streamp, dictionary uintptr, dictLength uintptr) int32
- func XinflateGetHeader(tls *libc.TLS, strm Z_streamp, head Gz_headerp) int32
- func XinflateInit2_(tls *libc.TLS, strm Z_streamp, windowBits int32, version uintptr, ...) int32
- func XinflateInit_(tls *libc.TLS, strm Z_streamp, version uintptr, stream_size int32) int32
- func XinflateMark(tls *libc.TLS, strm Z_streamp) int64
- func XinflatePrime(tls *libc.TLS, strm Z_streamp, bits int32, value int32) int32
- func XinflateReset(tls *libc.TLS, strm Z_streamp) int32
- func XinflateReset2(tls *libc.TLS, strm Z_streamp, windowBits int32) int32
- func XinflateResetKeep(tls *libc.TLS, strm Z_streamp) int32
- func XinflateSetDictionary(tls *libc.TLS, strm Z_streamp, dictionary uintptr, dictLength UInt) int32
- func XinflateSync(tls *libc.TLS, strm Z_streamp) int32
- func XinflateSyncPoint(tls *libc.TLS, strm Z_streamp) int32
- func XinflateUndermine(tls *libc.TLS, strm Z_streamp, subvert int32) int32
- func XinflateValidate(tls *libc.TLS, strm Z_streamp, check int32) int32
- func Xinflate_fast(tls *libc.TLS, strm Z_streamp, start uint32)
- func Xinflate_table(tls *libc.TLS, type1 Codetype, lens uintptr, codes uint32, table uintptr, ...) int32
- func Xuncompress(tls *libc.TLS, dest uintptr, destLen uintptr, source uintptr, sourceLen ULong) int32
- func Xuncompress2(tls *libc.TLS, dest uintptr, destLen uintptr, source uintptr, ...) int32
- func XzError(tls *libc.TLS, err int32) uintptr
- func Xzcfree(tls *libc.TLS, opaque Voidpf, ptr Voidpf)
- func XzlibVersion(tls *libc.TLS) uintptr
- type Alloc_func
- type Blkcnt64_t
- type Blkcnt_t
- type Blksize_t
- type Block_state
- type Byte
- type Bytef
- type Caddr_t
- type Charf
- type Clock_t
- type Clockid_t
- type Code
- type Codetype
- type Compress_func
- type Config
- type Config_s
- type Ct_data
- type Ct_data_s
- type Daddr_t
- type Deflate_state
- type Dev_t
- type Div_t
- type Drand48_data
- type FILE
- type Fd_mask
- type Fd_set
- type Flock
- type Flock64
- type Fpos64_t
- type Fpos_t
- type Free_func
- type Fsblkcnt64_t
- type Fsblkcnt_t
- type Fsfilcnt64_t
- type Fsfilcnt_t
- type Fsid_t
- type Gid_t
- type GzFile
- type GzFile_s
- type Gz_header
- type Gz_header_s
- type Gz_headerp
- type Gz_state
- type Gz_statep
- type IPos
- type Id_t
- type Idtype_t
- type In_func
- type Inflate_mode
- type Inflate_state
- type Ino64_t
- type Ino_t
- type Int16_t
- type Int32_t
- type Int64_t
- type Int8_t
- type Internal_state
- type Intf
- type Intptr_t
- type Key_t
- type Ldiv_t
- type Lldiv_t
- type Locale_t
- type Loff_t
- type Max_align_t
- type Mode_t
- type Nlink_t
- type Off64_t
- type Off_t
- type Out_func
- type Pid_t
- type Pos
- type Posf
- type Pthread_attr_t
- type Pthread_attr_t1
- type Pthread_barrier_t
- type Pthread_barrierattr_t
- type Pthread_cond_t
- type Pthread_condattr_t
- type Pthread_key_t
- type Pthread_mutex_t
- type Pthread_mutexattr_t
- type Pthread_once_t
- type Pthread_rwlock_t
- type Pthread_rwlockattr_t
- type Pthread_spinlock_t
- type Pthread_t
- type Ptrdiff_t
- type Quad_t
- type Random_data
- type Register_t
- type Sigset_t
- type Size_t
- type Socklen_t
- type Ssize_t
- type Stat
- type Stat64
- type Static_tree_desc
- type Static_tree_desc_s
- type Suseconds_t
- type Time_t
- type Timer_t
- type Timespec
- type Timeval
- type Tree_desc
- type Tree_desc_s
- type UInt
- type UIntf
- type ULong
- func Xadler32(tls *libc.TLS, adler ULong, buf uintptr, len UInt) ULong
- func Xadler32_combine(tls *libc.TLS, adler1 ULong, adler2 ULong, len2 Off_t) ULong
- func Xadler32_combine64(tls *libc.TLS, adler1 ULong, adler2 ULong, len2 Off64_t) ULong
- func Xadler32_z(tls *libc.TLS, adler ULong, buf uintptr, len Z_size_t) ULong
- func XcompressBound(tls *libc.TLS, sourceLen ULong) ULong
- func Xcrc32_combine(tls *libc.TLS, crc1 ULong, crc2 ULong, len2 Off_t) ULong
- func Xcrc32_combine64(tls *libc.TLS, crc1 ULong, crc2 ULong, len2 Off64_t) ULong
- func XdeflateBound(tls *libc.TLS, strm Z_streamp, sourceLen ULong) ULong
- func XzlibCompileFlags(tls *libc.TLS) ULong
- type ULongf
- type U_char
- type U_int
- type U_int16_t
- type U_int32_t
- type U_int64_t
- type U_int8_t
- type U_long
- type U_quad_t
- type U_short
- type Uch
- type Uchf
- type Uid_t
- type Uint
- type Ulg
- type Ulong
- type Useconds_t
- type Ush
- type Ushf
- type Ushort
- type Va_list
- type Voidp
- type Voidpc
- type Voidpf
- type Wchar_t
- type X_G_fpos64_t
- type X_G_fpos_t
- type X_IO_FILE
- type X__FILE
- type X__blkcnt64_t
- type X__blkcnt_t
- type X__blksize_t
- type X__builtin_va_list
- type X__caddr_t
- type X__clock_t
- type X__clockid_t
- type X__compar_fn_t
- type X__daddr_t
- type X__dev_t
- type X__fd_mask
- type X__float128
- type X__fpos64_t
- type X__fpos_t
- type X__fsblkcnt64_t
- type X__fsblkcnt_t
- type X__fsfilcnt64_t
- type X__fsfilcnt_t
- type X__fsid_t
- type X__fsword_t
- type X__gid_t
- type X__gnuc_va_list
- type X__id_t
- type X__ino64_t
- type X__ino_t
- type X__int128_t
- type X__int16_t
- type X__int32_t
- type X__int64_t
- type X__int8_t
- type X__int_least16_t
- type X__int_least32_t
- type X__int_least64_t
- type X__int_least8_t
- type X__intmax_t
- type X__intptr_t
- type X__key_t
- type X__locale_struct
- type X__locale_t
- type X__loff_t
- type X__mbstate_t
- type X__mode_t
- type X__nlink_t
- type X__off64_t
- type X__off_t
- type X__pid_t
- type X__pthread_cond_s
- type X__pthread_internal_list
- type X__pthread_internal_slist
- type X__pthread_list_t
- type X__pthread_mutex_s
- type X__pthread_rwlock_arch_t
- type X__pthread_slist_t
- type X__quad_t
- type X__rlim64_t
- type X__rlim_t
- type X__sig_atomic_t
- type X__sigset_t
- type X__socklen_t
- type X__ssize_t
- type X__suseconds_t
- type X__syscall_slong_t
- type X__syscall_ulong_t
- type X__time_t
- type X__timer_t
- type X__u_char
- type X__u_int
- type X__u_long
- type X__u_quad_t
- type X__u_short
- type X__uid_t
- type X__uint128_t
- type X__uint16_t
- type X__uint32_t
- type X__uint64_t
- type X__uint8_t
- type X__uint_least16_t
- type X__uint_least32_t
- type X__uint_least64_t
- type X__uint_least8_t
- type X__uintmax_t
- type X__useconds_t
- type Z_crc_t
- type Z_size_t
- type Z_stream
- type Z_stream_s
- type Z_streamp
Constants ¶
const ( AIO_PRIO_DELTA_MAX = 20 BASE = 65521 BC_BASE_MAX = 99 BC_DIM_MAX = 2048 BC_SCALE_MAX = 99 BC_STRING_MAX = 1000 BIG_ENDIAN = 4321 BYTE_ORDER = 1234 CHARCLASS_NAME_MAX = 2048 CHAR_BIT = 8 CHAR_MAX = 127 CHAR_MIN = -128 COLL_WEIGHTS_MAX = 255 DEF_MEM_LEVEL = 8 DEF_WBITS = 15 DELAYTIMER_MAX = 2147483647 DYN_TREES = 2 EXIT_FAILURE = 1 EXIT_SUCCESS = 0 EXPR_NEST_MAX = 32 FAR = 0 FD_SETSIZE = 1024 F_LOCK = 1 F_OK = 0 F_TEST = 3 F_TLOCK = 2 F_ULOCK = 0 HAVE_HIDDEN = 1 HAVE_MEMCPY = 0 HOST_NAME_MAX = 64 INT_MAX = 2147483647 INT_MIN = -2147483648 LINE_MAX = 2048 LITTLE_ENDIAN = 1234 LLONG_MAX = 9223372036854775807 LLONG_MIN = -9223372036854775808 LOGIN_NAME_MAX = 256 LONG_MAX = 9223372036854775807 LONG_MIN = -9223372036854775808 L_INCR = 1 L_SET = 0 L_XTND = 2 MAX_CANON = 255 MAX_INPUT = 255 MAX_MATCH = 258 MAX_MEM_LEVEL = 9 MAX_WBITS = 15 MB_LEN_MAX = 16 MIN_MATCH = 3 MQ_PRIO_MAX = 32768 NAME_MAX = 255 NGROUPS_MAX = 65536 NMAX = 5552 OS_CODE = 3 PATH_MAX = 4096 PDP_ENDIAN = 3412 PIPE_BUF = 4096 PRESET_DICT = 0x20 PTHREAD_DESTRUCTOR_ITERATIONS = 4 PTHREAD_KEYS_MAX = 1024 PTHREAD_STACK_MIN = 16384 RAND_MAX = 2147483647 RE_DUP_MAX = 32767 RTSIG_MAX = 32 R_OK = 4 SCHAR_MAX = 127 SCHAR_MIN = -128 SEEK_CUR = 1 SEEK_END = 2 SEEK_SET = 0 SEM_VALUE_MAX = 2147483647 SHRT_MAX = 32767 SHRT_MIN = -32768 SSIZE_MAX = 9223372036854775807 STATIC_TREES = 1 STDC = 0 STDC99 = 0 STDERR_FILENO = 2 STDIN_FILENO = 0 STDOUT_FILENO = 1 STORED_BLOCK = 0 TTY_NAME_MAX = 32 UCHAR_MAX = 255 UINT_MAX = 4294967295 ULLONG_MAX = 18446744073709551615 ULONG_MAX = 18446744073709551615 USHRT_MAX = 65535 WCONTINUED = 8 WEXITED = 4 WNOHANG = 1 WNOWAIT = 0x01000000 WSTOPPED = 2 WUNTRACED = 2 W_OK = 2 XATTR_LIST_MAX = 65536 XATTR_NAME_MAX = 255 XATTR_SIZE_MAX = 65536 X_OK = 1 ZCONF_H = 0 ZEXPORT = 0 ZEXPORTVA = 0 ZLIB_H = 0 ZLIB_VERNUM = 0x12b0 ZLIB_VERSION = "1.2.11" ZLIB_VER_MAJOR = 1 ZLIB_VER_MINOR = 2 ZLIB_VER_REVISION = 11 ZLIB_VER_SUBREVISION = 0 ZUTIL_H = 0 Z_ASCII = 1 Z_BEST_COMPRESSION = 9 Z_BEST_SPEED = 1 Z_BINARY = 0 Z_BLOCK = 5 Z_BUF_ERROR = -5 Z_DATA_ERROR = -3 Z_DEFAULT_COMPRESSION = -1 Z_DEFAULT_STRATEGY = 0 Z_DEFLATED = 8 Z_ERRNO = -1 Z_FILTERED = 1 Z_FINISH = 4 Z_FIXED = 4 Z_FULL_FLUSH = 3 Z_HAVE_STDARG_H = 0 Z_HAVE_UNISTD_H = 0 Z_HUFFMAN_ONLY = 2 Z_LARGE64 = 0 Z_LFS64 = 0 Z_MEM_ERROR = -4 Z_NEED_DICT = 2 Z_NO_COMPRESSION = 0 Z_NO_FLUSH = 0 Z_NULL = 0 Z_OK = 0 Z_PARTIAL_FLUSH = 1 Z_RLE = 3 Z_STREAM_END = 1 Z_STREAM_ERROR = -2 Z_SYNC_FLUSH = 2 Z_TEXT = 1 Z_TREES = 6 Z_UNKNOWN = 2 Z_VERSION_ERROR = -6 Z_WANT64 = 0 X_ALLOCA_H = 1 X_ANSI_STDARG_H_ = 0 X_ANSI_STDDEF_H = 0 X_ATFILE_SOURCE = 1 X_BITS_BYTESWAP_H = 1 X_BITS_ENDIANNESS_H = 1 X_BITS_ENDIAN_H = 1 X_BITS_FLOATN_COMMON_H = 0 X_BITS_FLOATN_H = 0 X_BITS_POSIX1_LIM_H = 1 X_BITS_POSIX2_LIM_H = 1 X_BITS_POSIX_OPT_H = 1 X_BITS_PTHREADTYPES_ARCH_H = 1 X_BITS_PTHREADTYPES_COMMON_H = 1 X_BITS_STDINT_INTN_H = 1 X_BITS_TIME64_H = 1 X_BITS_TYPESIZES_H = 1 X_BITS_TYPES_H = 1 X_BITS_TYPES_LOCALE_T_H = 1 X_BITS_TYPES___LOCALE_T_H = 1 X_BITS_UINTN_IDENTITY_H = 1 X_BSD_PTRDIFF_T_ = 0 X_BSD_SIZE_T_ = 0 X_BSD_SIZE_T_DEFINED_ = 0 X_DEFAULT_SOURCE = 1 X_ENDIAN_H = 1 X_FEATURES_H = 1 X_FILE_OFFSET_BITS = 64 X_GCC_LIMITS_H_ = 0 X_GCC_MAX_ALIGN_T = 0 X_GCC_PTRDIFF_T = 0 X_GCC_SIZE_T = 0 X_GCC_WCHAR_T = 0 X_GETOPT_CORE_H = 1 X_GETOPT_POSIX_H = 1 X_LARGEFILE64_SOURCE = 1 X_LFS64_ASYNCHRONOUS_IO = 1 X_LFS64_LARGEFILE = 1 X_LFS64_STDIO = 1 X_LFS_ASYNCHRONOUS_IO = 1 X_LFS_LARGEFILE = 1 X_LIBC_LIMITS_H_ = 1 X_LIMITS_H___ = 0 X_LINUX_LIMITS_H = 0 X_LP64 = 1 X_POSIX2_BC_BASE_MAX = 99 X_POSIX2_BC_DIM_MAX = 2048 X_POSIX2_BC_SCALE_MAX = 99 X_POSIX2_BC_STRING_MAX = 1000 X_POSIX2_CHARCLASS_NAME_MAX = 14 X_POSIX2_CHAR_TERM = 200809 X_POSIX2_COLL_WEIGHTS_MAX = 2 X_POSIX2_C_BIND = 200809 X_POSIX2_C_DEV = 200809 X_POSIX2_C_VERSION = 200809 X_POSIX2_EXPR_NEST_MAX = 32 X_POSIX2_LINE_MAX = 2048 X_POSIX2_LOCALEDEF = 200809 X_POSIX2_RE_DUP_MAX = 255 X_POSIX2_SW_DEV = 200809 X_POSIX2_VERSION = 200809 X_POSIX_ADVISORY_INFO = 200809 X_POSIX_AIO_LISTIO_MAX = 2 X_POSIX_AIO_MAX = 1 X_POSIX_ARG_MAX = 4096 X_POSIX_ASYNCHRONOUS_IO = 200809 X_POSIX_ASYNC_IO = 1 X_POSIX_BARRIERS = 200809 X_POSIX_CHILD_MAX = 25 X_POSIX_CHOWN_RESTRICTED = 0 X_POSIX_CLOCKRES_MIN = 20000000 X_POSIX_CLOCK_SELECTION = 200809 X_POSIX_CPUTIME = 0 X_POSIX_C_SOURCE = 200809 X_POSIX_DELAYTIMER_MAX = 32 X_POSIX_FSYNC = 200809 X_POSIX_HOST_NAME_MAX = 255 X_POSIX_IPV6 = 200809 X_POSIX_JOB_CONTROL = 1 X_POSIX_LINK_MAX = 8 X_POSIX_LOGIN_NAME_MAX = 9 X_POSIX_MAPPED_FILES = 200809 X_POSIX_MAX_CANON = 255 X_POSIX_MAX_INPUT = 255 X_POSIX_MEMLOCK = 200809 X_POSIX_MEMLOCK_RANGE = 200809 X_POSIX_MEMORY_PROTECTION = 200809 X_POSIX_MESSAGE_PASSING = 200809 X_POSIX_MONOTONIC_CLOCK = 0 X_POSIX_MQ_OPEN_MAX = 8 X_POSIX_MQ_PRIO_MAX = 32 X_POSIX_NAME_MAX = 14 X_POSIX_NGROUPS_MAX = 8 X_POSIX_NO_TRUNC = 1 X_POSIX_OPEN_MAX = 20 X_POSIX_PATH_MAX = 256 X_POSIX_PIPE_BUF = 512 X_POSIX_PRIORITIZED_IO = 200809 X_POSIX_PRIORITY_SCHEDULING = 200809 X_POSIX_RAW_SOCKETS = 200809 X_POSIX_READER_WRITER_LOCKS = 200809 X_POSIX_REALTIME_SIGNALS = 200809 X_POSIX_REENTRANT_FUNCTIONS = 1 X_POSIX_REGEXP = 1 X_POSIX_RE_DUP_MAX = 255 X_POSIX_RTSIG_MAX = 8 X_POSIX_SAVED_IDS = 1 X_POSIX_SEMAPHORES = 200809 X_POSIX_SEM_NSEMS_MAX = 256 X_POSIX_SEM_VALUE_MAX = 32767 X_POSIX_SHARED_MEMORY_OBJECTS = 200809 X_POSIX_SHELL = 1 X_POSIX_SIGQUEUE_MAX = 32 X_POSIX_SOURCE = 1 X_POSIX_SPAWN = 200809 X_POSIX_SPIN_LOCKS = 200809 X_POSIX_SPORADIC_SERVER = -1 X_POSIX_SSIZE_MAX = 32767 X_POSIX_STREAM_MAX = 8 X_POSIX_SYMLINK_MAX = 255 X_POSIX_SYMLOOP_MAX = 8 X_POSIX_SYNCHRONIZED_IO = 200809 X_POSIX_THREADS = 200809 X_POSIX_THREAD_ATTR_STACKADDR = 200809 X_POSIX_THREAD_ATTR_STACKSIZE = 200809 X_POSIX_THREAD_CPUTIME = 0 X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4 X_POSIX_THREAD_KEYS_MAX = 128 X_POSIX_THREAD_PRIORITY_SCHEDULING = 200809 X_POSIX_THREAD_PRIO_INHERIT = 200809 X_POSIX_THREAD_PRIO_PROTECT = 200809 X_POSIX_THREAD_PROCESS_SHARED = 200809 X_POSIX_THREAD_ROBUST_PRIO_INHERIT = 200809 X_POSIX_THREAD_ROBUST_PRIO_PROTECT = -1 X_POSIX_THREAD_SAFE_FUNCTIONS = 200809 X_POSIX_THREAD_SPORADIC_SERVER = -1 X_POSIX_THREAD_THREADS_MAX = 64 X_POSIX_TIMEOUTS = 200809 X_POSIX_TIMERS = 200809 X_POSIX_TIMER_MAX = 32 X_POSIX_TRACE = -1 X_POSIX_TRACE_EVENT_FILTER = -1 X_POSIX_TRACE_INHERIT = -1 X_POSIX_TRACE_LOG = -1 X_POSIX_TTY_NAME_MAX = 9 X_POSIX_TYPED_MEMORY_OBJECTS = -1 X_POSIX_TZNAME_MAX = 6 X_POSIX_V6_LP64_OFF64 = 1 X_POSIX_V6_LPBIG_OFFBIG = -1 X_POSIX_V7_LP64_OFF64 = 1 X_POSIX_V7_LPBIG_OFFBIG = -1 X_POSIX_VDISABLE = 0 X_POSIX_VERSION = 200809 X_PTRDIFF_T = 0 X_PTRDIFF_T_ = 0 X_PTRDIFF_T_DECLARED = 0 X_RWLOCK_INTERNAL_H = 0 X_SIZET_ = 0 X_SIZE_T = 0 X_SIZE_T_ = 0 X_SIZE_T_DECLARED = 0 X_SIZE_T_DEFINED = 0 X_SIZE_T_DEFINED_ = 0 X_STDARG_H = 0 X_STDC_PREDEF_H = 1 X_STDDEF_H = 0 X_STDDEF_H_ = 0 X_STDLIB_H = 1 X_STRINGS_H = 1 X_STRING_H = 1 X_STRUCT_TIMESPEC = 1 X_SYS_CDEFS_H = 1 X_SYS_SELECT_H = 1 X_SYS_SIZE_T_H = 0 X_SYS_TYPES_H = 1 X_THREAD_MUTEX_INTERNAL_H = 1 X_THREAD_SHARED_TYPES_H = 1 X_T_PTRDIFF = 0 X_T_PTRDIFF_ = 0 X_T_SIZE = 0 X_T_SIZE_ = 0 X_T_WCHAR = 0 X_T_WCHAR_ = 0 X_UNISTD_H = 1 X_VA_LIST = 0 X_VA_LIST_ = 0 X_VA_LIST_DEFINED = 0 X_VA_LIST_T_H = 0 X_WCHAR_T = 0 X_WCHAR_T_ = 0 X_WCHAR_T_DECLARED = 0 X_WCHAR_T_DEFINED = 0 X_WCHAR_T_DEFINED_ = 0 X_WCHAR_T_H = 0 X_XBS5_LP64_OFF64 = 1 X_XBS5_LPBIG_OFFBIG = -1 X_XOPEN_ENH_I18N = 1 X_XOPEN_LEGACY = 1 X_XOPEN_REALTIME = 1 X_XOPEN_REALTIME_THREADS = 1 X_XOPEN_SHM = 1 X_XOPEN_UNIX = 1 X_XOPEN_VERSION = 700 X_XOPEN_XCU_VERSION = 4 X_XOPEN_XPG2 = 1 X_XOPEN_XPG3 = 1 X_XOPEN_XPG4 = 1 Linux = 1 Unix = 1 Z_const = 0 BYFOUR = 0 GF2_DIM = 32 TBLS = 8 BL_CODES = 19 BUSY_STATE = 113 Buf_size = 16 COMMENT_STATE = 91 DEFLATE_H = 0 D_CODES = 30 EXTRA_STATE = 69 FINISH_STATE = 666 GZIP = 0 GZIP_STATE = 57 HCRC_STATE = 103 HEAP_SIZE = 573 INIT_STATE = 42 LENGTH_CODES = 29 LITERALS = 256 L_CODES = 286 MAX_BITS = 15 MAX_STORED = 65535 MIN_LOOKAHEAD = 262 NAME_STATE = 73 NIL = 0 TOO_FAR = 4096 WIN_INIT = 258 AT_EACCESS = 0x200 AT_FDCWD = -100 AT_REMOVEDIR = 0x200 AT_SYMLINK_FOLLOW = 0x400 AT_SYMLINK_NOFOLLOW = 0x100 BUFSIZ = 8192 COPY1 = 1 E2BIG = 7 EACCES = 13 EADDRINUSE = 98 EADDRNOTAVAIL = 99 EADV = 68 EAFNOSUPPORT = 97 EAGAIN = 11 EALREADY = 114 EBADE = 52 EBADF = 9 EBADFD = 77 EBADMSG = 74 EBADR = 53 EBADRQC = 56 EBADSLT = 57 EBFONT = 59 EBUSY = 16 ECANCELED = 125 ECHILD = 10 ECHRNG = 44 ECOMM = 70 ECONNABORTED = 103 ECONNREFUSED = 111 ECONNRESET = 104 EDEADLK = 35 EDEADLOCK = 35 EDESTADDRREQ = 89 EDOM = 33 EDOTDOT = 73 EDQUOT = 122 EEXIST = 17 EFAULT = 14 EFBIG = 27 EHOSTDOWN = 112 EHOSTUNREACH = 113 EHWPOISON = 133 EIDRM = 43 EILSEQ = 84 EINPROGRESS = 115 EINTR = 4 EINVAL = 22 EIO = 5 EISCONN = 106 EISDIR = 21 EISNAM = 120 EKEYEXPIRED = 127 EKEYREJECTED = 129 EKEYREVOKED = 128 EL2HLT = 51 EL2NSYNC = 45 EL3HLT = 46 EL3RST = 47 ELIBACC = 79 ELIBBAD = 80 ELIBEXEC = 83 ELIBMAX = 82 ELIBSCN = 81 ELNRNG = 48 ELOOP = 40 EMEDIUMTYPE = 124 EMFILE = 24 EMLINK = 31 EMSGSIZE = 90 EMULTIHOP = 72 ENAMETOOLONG = 36 ENAVAIL = 119 ENETDOWN = 100 ENETRESET = 102 ENETUNREACH = 101 ENFILE = 23 ENOANO = 55 ENOBUFS = 105 ENOCSI = 50 ENODATA = 61 ENODEV = 19 ENOENT = 2 ENOEXEC = 8 ENOKEY = 126 ENOLCK = 37 ENOLINK = 67 ENOMEDIUM = 123 ENOMEM = 12 ENOMSG = 42 ENONET = 64 ENOPKG = 65 ENOPROTOOPT = 92 ENOSPC = 28 ENOSR = 63 ENOSTR = 60 ENOSYS = 38 ENOTBLK = 15 ENOTCONN = 107 ENOTDIR = 20 ENOTEMPTY = 39 ENOTNAM = 118 ENOTRECOVERABLE = 131 ENOTSOCK = 88 ENOTSUP = 95 ENOTTY = 25 ENOTUNIQ = 76 ENXIO = 6 EOF = -1 EOPNOTSUPP = 95 EOVERFLOW = 75 EOWNERDEAD = 130 EPERM = 1 EPFNOSUPPORT = 96 EPIPE = 32 EPROTO = 71 EPROTONOSUPPORT = 93 EPROTOTYPE = 91 ERANGE = 34 EREMCHG = 78 EREMOTE = 66 EREMOTEIO = 121 ERESTART = 85 ERFKILL = 132 EROFS = 30 ESHUTDOWN = 108 ESOCKTNOSUPPORT = 94 ESPIPE = 29 ESRCH = 3 ESRMNT = 69 ESTALE = 116 ESTRPIPE = 86 ETIME = 62 ETIMEDOUT = 110 ETOOMANYREFS = 109 ETXTBSY = 26 EUCLEAN = 117 EUNATCH = 49 EUSERS = 87 EWOULDBLOCK = 11 EXDEV = 18 EXFULL = 54 FAPPEND = 1024 FASYNC = 8192 FD_CLOEXEC = 1 FFSYNC = 1052672 FILENAME_MAX = 4096 FNDELAY = 2048 FNONBLOCK = 2048 FOPEN_MAX = 16 F_DUPFD = 0 F_DUPFD_CLOEXEC = 1030 F_EXLCK = 4 F_GETFD = 1 F_GETFL = 3 F_GETLK = 5 F_GETLK64 = 5 F_GETOWN = 9 F_RDLCK = 0 F_SETFD = 2 F_SETFL = 4 F_SETLK = 6 F_SETLK64 = 6 F_SETLKW = 7 F_SETLKW64 = 7 F_SETOWN = 8 F_SHLCK = 8 F_UNLCK = 2 F_WRLCK = 1 GZBUFSIZE = 8192 GZ_APPEND = 1 GZ_NONE = 0 GZ_READ = 7247 GZ_WRITE = 31153 HAVE_VSNPRINTF = 0 LOCK_EX = 2 LOCK_NB = 4 LOCK_SH = 1 LOCK_UN = 8 LOOK = 0 L_ctermid = 9 L_tmpnam = 20 O_ACCMODE = 0003 O_APPEND = 02000 O_ASYNC = 020000 O_CLOEXEC = 524288 O_CREAT = 0100 O_DIRECTORY = 65536 O_DSYNC = 4096 O_EXCL = 0200 O_FSYNC = 1052672 O_LARGEFILE = 0 O_NDELAY = 2048 O_NOCTTY = 0400 O_NOFOLLOW = 131072 O_NONBLOCK = 04000 O_RDONLY = 00 O_RDWR = 02 O_RSYNC = 1052672 O_SYNC = 04010000 O_TRUNC = 01000 O_WRONLY = 01 POSIX_FADV_DONTNEED = 4 POSIX_FADV_NOREUSE = 5 POSIX_FADV_NORMAL = 0 POSIX_FADV_RANDOM = 1 POSIX_FADV_SEQUENTIAL = 2 POSIX_FADV_WILLNEED = 3 P_tmpdir = "/tmp" S_IFBLK = 24576 S_IFCHR = 8192 S_IFDIR = 16384 S_IFIFO = 4096 S_IFLNK = 40960 S_IFMT = 61440 S_IFREG = 32768 S_IFSOCK = 49152 S_IRGRP = 32 S_IROTH = 4 S_IRUSR = 256 S_IRWXG = 56 S_IRWXO = 7 S_IRWXU = 448 S_ISGID = 1024 S_ISUID = 2048 S_ISVTX = 512 S_IWGRP = 16 S_IWOTH = 2 S_IWUSR = 128 S_IXGRP = 8 S_IXOTH = 1 S_IXUSR = 64 TMP_MAX = 238328 UTIME_NOW = 1073741823 UTIME_OMIT = 1073741822 X_ASM_GENERIC_ERRNO_BASE_H = 0 X_ASM_GENERIC_ERRNO_H = 0 X_BITS_ERRNO_H = 1 X_BITS_STAT_H = 1 X_BITS_STDIO_LIM_H = 1 X_ERRNO_H = 1 X_FCNTL_H = 1 X_IOFBF = 0 X_IOLBF = 1 X_IONBF = 2 X_IO_EOF_SEEN = 0x0010 X_IO_ERR_SEEN = 0x0020 X_IO_USER_LOCK = 0x8000 X_LARGEFILE_SOURCE = 1 X_MKNOD_VER_LINUX = 0 X_STATBUF_ST_BLKSIZE = 0 X_STATBUF_ST_NSEC = 0 X_STATBUF_ST_RDEV = 0 X_STAT_VER = 1 X_STAT_VER_KERNEL = 0 X_STAT_VER_LINUX = 1 X_STDIO_H = 1 ENOUGH = 1444 ENOUGH_DISTS = 592 ENOUGH_LENS = 852 GUNZIP = 0 MAXBITS = 15 DIST_CODE_LEN = 512 END_BLOCK = 256 MAX_BL_BITS = 7 REPZ_11_138 = 18 REPZ_3_10 = 17 REP_3_6 = 16 SMALLEST = 1 )
const ( X_PC_LINK_MAX = 0 X_PC_MAX_CANON = 1 X_PC_MAX_INPUT = 2 X_PC_NAME_MAX = 3 X_PC_PATH_MAX = 4 X_PC_PIPE_BUF = 5 X_PC_CHOWN_RESTRICTED = 6 X_PC_NO_TRUNC = 7 X_PC_VDISABLE = 8 X_PC_SYNC_IO = 9 X_PC_ASYNC_IO = 10 X_PC_PRIO_IO = 11 X_PC_SOCK_MAXBUF = 12 X_PC_FILESIZEBITS = 13 X_PC_REC_INCR_XFER_SIZE = 14 X_PC_REC_MAX_XFER_SIZE = 15 X_PC_REC_MIN_XFER_SIZE = 16 X_PC_REC_XFER_ALIGN = 17 X_PC_ALLOC_SIZE_MIN = 18 X_PC_SYMLINK_MAX = 19 X_PC_2_SYMLINKS = 20 )
Values for the NAME argument to `pathconf' and `fpathconf'.
const ( X_CS_PATH = 0 // The default search path. X_CS_V6_WIDTH_RESTRICTED_ENVS = 1 X_CS_GNU_LIBC_VERSION = 2 X_CS_GNU_LIBPTHREAD_VERSION = 3 X_CS_V5_WIDTH_RESTRICTED_ENVS = 4 X_CS_V7_WIDTH_RESTRICTED_ENVS = 5 X_CS_LFS_CFLAGS = 1000 X_CS_LFS_LDFLAGS = 1001 X_CS_LFS_LIBS = 1002 X_CS_LFS_LINTFLAGS = 1003 X_CS_LFS64_CFLAGS = 1004 X_CS_LFS64_LDFLAGS = 1005 X_CS_LFS64_LIBS = 1006 X_CS_LFS64_LINTFLAGS = 1007 X_CS_XBS5_ILP32_OFF32_CFLAGS = 1100 X_CS_XBS5_ILP32_OFF32_LDFLAGS = 1101 X_CS_XBS5_ILP32_OFF32_LIBS = 1102 X_CS_XBS5_ILP32_OFF32_LINTFLAGS = 1103 X_CS_XBS5_ILP32_OFFBIG_CFLAGS = 1104 X_CS_XBS5_ILP32_OFFBIG_LDFLAGS = 1105 X_CS_XBS5_ILP32_OFFBIG_LIBS = 1106 X_CS_XBS5_ILP32_OFFBIG_LINTFLAGS = 1107 X_CS_XBS5_LP64_OFF64_CFLAGS = 1108 X_CS_XBS5_LP64_OFF64_LDFLAGS = 1109 X_CS_XBS5_LP64_OFF64_LIBS = 1110 X_CS_XBS5_LP64_OFF64_LINTFLAGS = 1111 X_CS_XBS5_LPBIG_OFFBIG_CFLAGS = 1112 X_CS_XBS5_LPBIG_OFFBIG_LDFLAGS = 1113 X_CS_XBS5_LPBIG_OFFBIG_LIBS = 1114 X_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS = 1115 X_CS_POSIX_V6_ILP32_OFF32_CFLAGS = 1116 X_CS_POSIX_V6_ILP32_OFF32_LDFLAGS = 1117 X_CS_POSIX_V6_ILP32_OFF32_LIBS = 1118 X_CS_POSIX_V6_ILP32_OFF32_LINTFLAGS = 1119 X_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS = 1120 X_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS = 1121 X_CS_POSIX_V6_ILP32_OFFBIG_LIBS = 1122 X_CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS = 1123 X_CS_POSIX_V6_LP64_OFF64_CFLAGS = 1124 X_CS_POSIX_V6_LP64_OFF64_LDFLAGS = 1125 X_CS_POSIX_V6_LP64_OFF64_LIBS = 1126 X_CS_POSIX_V6_LP64_OFF64_LINTFLAGS = 1127 X_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS = 1128 X_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS = 1129 X_CS_POSIX_V6_LPBIG_OFFBIG_LIBS = 1130 X_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS = 1131 X_CS_POSIX_V7_ILP32_OFF32_CFLAGS = 1132 X_CS_POSIX_V7_ILP32_OFF32_LDFLAGS = 1133 X_CS_POSIX_V7_ILP32_OFF32_LIBS = 1134 X_CS_POSIX_V7_ILP32_OFF32_LINTFLAGS = 1135 X_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS = 1136 X_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS = 1137 X_CS_POSIX_V7_ILP32_OFFBIG_LIBS = 1138 X_CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS = 1139 X_CS_POSIX_V7_LP64_OFF64_CFLAGS = 1140 X_CS_POSIX_V7_LP64_OFF64_LDFLAGS = 1141 X_CS_POSIX_V7_LP64_OFF64_LIBS = 1142 X_CS_POSIX_V7_LP64_OFF64_LINTFLAGS = 1143 X_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS = 1144 X_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS = 1145 X_CS_POSIX_V7_LPBIG_OFFBIG_LIBS = 1146 X_CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS = 1147 X_CS_V6_ENV = 1148 X_CS_V7_ENV = 1149 )
Values for the NAME argument to `confstr'.
const ( X_SC_ARG_MAX = 0 X_SC_CHILD_MAX = 1 X_SC_CLK_TCK = 2 X_SC_NGROUPS_MAX = 3 X_SC_OPEN_MAX = 4 X_SC_STREAM_MAX = 5 X_SC_TZNAME_MAX = 6 X_SC_JOB_CONTROL = 7 X_SC_SAVED_IDS = 8 X_SC_REALTIME_SIGNALS = 9 X_SC_PRIORITY_SCHEDULING = 10 X_SC_TIMERS = 11 X_SC_ASYNCHRONOUS_IO = 12 X_SC_PRIORITIZED_IO = 13 X_SC_SYNCHRONIZED_IO = 14 X_SC_FSYNC = 15 X_SC_MAPPED_FILES = 16 X_SC_MEMLOCK = 17 X_SC_MEMLOCK_RANGE = 18 X_SC_MEMORY_PROTECTION = 19 X_SC_MESSAGE_PASSING = 20 X_SC_SEMAPHORES = 21 X_SC_SHARED_MEMORY_OBJECTS = 22 X_SC_AIO_LISTIO_MAX = 23 X_SC_AIO_MAX = 24 X_SC_AIO_PRIO_DELTA_MAX = 25 X_SC_DELAYTIMER_MAX = 26 X_SC_MQ_OPEN_MAX = 27 X_SC_MQ_PRIO_MAX = 28 X_SC_VERSION = 29 X_SC_PAGESIZE = 30 X_SC_RTSIG_MAX = 31 X_SC_SEM_NSEMS_MAX = 32 X_SC_SEM_VALUE_MAX = 33 X_SC_SIGQUEUE_MAX = 34 X_SC_TIMER_MAX = 35 // Values for the argument to `sysconf' // corresponding to _POSIX2_* symbols. X_SC_BC_BASE_MAX = 36 X_SC_BC_DIM_MAX = 37 X_SC_BC_SCALE_MAX = 38 X_SC_BC_STRING_MAX = 39 X_SC_COLL_WEIGHTS_MAX = 40 X_SC_EQUIV_CLASS_MAX = 41 X_SC_EXPR_NEST_MAX = 42 X_SC_LINE_MAX = 43 X_SC_RE_DUP_MAX = 44 X_SC_CHARCLASS_NAME_MAX = 45 X_SC_2_VERSION = 46 X_SC_2_C_BIND = 47 X_SC_2_C_DEV = 48 X_SC_2_FORT_DEV = 49 X_SC_2_FORT_RUN = 50 X_SC_2_SW_DEV = 51 X_SC_2_LOCALEDEF = 52 X_SC_PII = 53 X_SC_PII_XTI = 54 X_SC_PII_SOCKET = 55 X_SC_PII_INTERNET = 56 X_SC_PII_OSI = 57 X_SC_POLL = 58 X_SC_SELECT = 59 X_SC_UIO_MAXIOV = 60 X_SC_IOV_MAX = 60 X_SC_PII_INTERNET_STREAM = 61 X_SC_PII_INTERNET_DGRAM = 62 X_SC_PII_OSI_COTS = 63 X_SC_PII_OSI_CLTS = 64 X_SC_PII_OSI_M = 65 X_SC_T_IOV_MAX = 66 // Values according to POSIX 1003.1c (POSIX threads). X_SC_THREADS = 67 X_SC_THREAD_SAFE_FUNCTIONS = 68 X_SC_GETGR_R_SIZE_MAX = 69 X_SC_GETPW_R_SIZE_MAX = 70 X_SC_LOGIN_NAME_MAX = 71 X_SC_TTY_NAME_MAX = 72 X_SC_THREAD_DESTRUCTOR_ITERATIONS = 73 X_SC_THREAD_KEYS_MAX = 74 X_SC_THREAD_STACK_MIN = 75 X_SC_THREAD_THREADS_MAX = 76 X_SC_THREAD_ATTR_STACKADDR = 77 X_SC_THREAD_ATTR_STACKSIZE = 78 X_SC_THREAD_PRIORITY_SCHEDULING = 79 X_SC_THREAD_PRIO_INHERIT = 80 X_SC_THREAD_PRIO_PROTECT = 81 X_SC_THREAD_PROCESS_SHARED = 82 X_SC_NPROCESSORS_CONF = 83 X_SC_NPROCESSORS_ONLN = 84 X_SC_PHYS_PAGES = 85 X_SC_AVPHYS_PAGES = 86 X_SC_ATEXIT_MAX = 87 X_SC_PASS_MAX = 88 X_SC_XOPEN_VERSION = 89 X_SC_XOPEN_XCU_VERSION = 90 X_SC_XOPEN_UNIX = 91 X_SC_XOPEN_CRYPT = 92 X_SC_XOPEN_ENH_I18N = 93 X_SC_XOPEN_SHM = 94 X_SC_2_CHAR_TERM = 95 X_SC_2_C_VERSION = 96 X_SC_2_UPE = 97 X_SC_XOPEN_XPG2 = 98 X_SC_XOPEN_XPG3 = 99 X_SC_XOPEN_XPG4 = 100 X_SC_CHAR_BIT = 101 X_SC_CHAR_MAX = 102 X_SC_CHAR_MIN = 103 X_SC_INT_MAX = 104 X_SC_INT_MIN = 105 X_SC_LONG_BIT = 106 X_SC_WORD_BIT = 107 X_SC_MB_LEN_MAX = 108 X_SC_NZERO = 109 X_SC_SSIZE_MAX = 110 X_SC_SCHAR_MAX = 111 X_SC_SCHAR_MIN = 112 X_SC_SHRT_MAX = 113 X_SC_SHRT_MIN = 114 X_SC_UCHAR_MAX = 115 X_SC_UINT_MAX = 116 X_SC_ULONG_MAX = 117 X_SC_USHRT_MAX = 118 X_SC_NL_ARGMAX = 119 X_SC_NL_LANGMAX = 120 X_SC_NL_MSGMAX = 121 X_SC_NL_NMAX = 122 X_SC_NL_SETMAX = 123 X_SC_NL_TEXTMAX = 124 X_SC_XBS5_ILP32_OFF32 = 125 X_SC_XBS5_ILP32_OFFBIG = 126 X_SC_XBS5_LP64_OFF64 = 127 X_SC_XBS5_LPBIG_OFFBIG = 128 X_SC_XOPEN_LEGACY = 129 X_SC_XOPEN_REALTIME = 130 X_SC_XOPEN_REALTIME_THREADS = 131 X_SC_ADVISORY_INFO = 132 X_SC_BARRIERS = 133 X_SC_BASE = 134 X_SC_C_LANG_SUPPORT = 135 X_SC_C_LANG_SUPPORT_R = 136 X_SC_CLOCK_SELECTION = 137 X_SC_CPUTIME = 138 X_SC_THREAD_CPUTIME = 139 X_SC_DEVICE_IO = 140 X_SC_DEVICE_SPECIFIC = 141 X_SC_DEVICE_SPECIFIC_R = 142 X_SC_FD_MGMT = 143 X_SC_FIFO = 144 X_SC_PIPE = 145 X_SC_FILE_ATTRIBUTES = 146 X_SC_FILE_LOCKING = 147 X_SC_FILE_SYSTEM = 148 X_SC_MONOTONIC_CLOCK = 149 X_SC_MULTI_PROCESS = 150 X_SC_SINGLE_PROCESS = 151 X_SC_NETWORKING = 152 X_SC_READER_WRITER_LOCKS = 153 X_SC_SPIN_LOCKS = 154 X_SC_REGEXP = 155 X_SC_REGEX_VERSION = 156 X_SC_SHELL = 157 X_SC_SIGNALS = 158 X_SC_SPAWN = 159 X_SC_SPORADIC_SERVER = 160 X_SC_THREAD_SPORADIC_SERVER = 161 X_SC_SYSTEM_DATABASE = 162 X_SC_SYSTEM_DATABASE_R = 163 X_SC_TIMEOUTS = 164 X_SC_TYPED_MEMORY_OBJECTS = 165 X_SC_USER_GROUPS = 166 X_SC_USER_GROUPS_R = 167 X_SC_2_PBS = 168 X_SC_2_PBS_ACCOUNTING = 169 X_SC_2_PBS_LOCATE = 170 X_SC_2_PBS_MESSAGE = 171 X_SC_2_PBS_TRACK = 172 X_SC_SYMLOOP_MAX = 173 X_SC_STREAMS = 174 X_SC_2_PBS_CHECKPOINT = 175 X_SC_V6_ILP32_OFF32 = 176 X_SC_V6_ILP32_OFFBIG = 177 X_SC_V6_LP64_OFF64 = 178 X_SC_V6_LPBIG_OFFBIG = 179 X_SC_HOST_NAME_MAX = 180 X_SC_TRACE = 181 X_SC_TRACE_EVENT_FILTER = 182 X_SC_TRACE_INHERIT = 183 X_SC_TRACE_LOG = 184 X_SC_LEVEL1_ICACHE_SIZE = 185 X_SC_LEVEL1_ICACHE_ASSOC = 186 X_SC_LEVEL1_ICACHE_LINESIZE = 187 X_SC_LEVEL1_DCACHE_SIZE = 188 X_SC_LEVEL1_DCACHE_ASSOC = 189 X_SC_LEVEL1_DCACHE_LINESIZE = 190 X_SC_LEVEL2_CACHE_SIZE = 191 X_SC_LEVEL2_CACHE_ASSOC = 192 X_SC_LEVEL2_CACHE_LINESIZE = 193 X_SC_LEVEL3_CACHE_SIZE = 194 X_SC_LEVEL3_CACHE_ASSOC = 195 X_SC_LEVEL3_CACHE_LINESIZE = 196 X_SC_LEVEL4_CACHE_SIZE = 197 X_SC_LEVEL4_CACHE_ASSOC = 198 X_SC_LEVEL4_CACHE_LINESIZE = 199 X_SC_IPV6 = 235 X_SC_RAW_SOCKETS = 236 X_SC_V7_ILP32_OFF32 = 237 X_SC_V7_ILP32_OFFBIG = 238 X_SC_V7_LP64_OFF64 = 239 X_SC_V7_LPBIG_OFFBIG = 240 X_SC_SS_REPL_MAX = 241 X_SC_TRACE_EVENT_NAME_MAX = 242 X_SC_TRACE_NAME_MAX = 243 X_SC_TRACE_SYS_MAX = 244 X_SC_TRACE_USER_EVENT_MAX = 245 X_SC_XOPEN_STREAMS = 246 X_SC_THREAD_ROBUST_PRIO_INHERIT = 247 X_SC_THREAD_ROBUST_PRIO_PROTECT = 248 )
Values for the argument to `sysconf'.
const ( P_ALL = 0 // Wait for any child. P_PID = 1 // Wait for specified process. P_PGID = 2 )
const ( Need_more = 0 // block not completed, need more input or more output Block_done = 1 // block flush performed Finish_started = 2 // finish started, need only more output at next deflate Finish_done = 3 )
===========================================================================
Function prototypes.
const ( HEAD = 16180 // i: waiting for magic header FLAGS = 16181 // i: waiting for method and flags (gzip) TIME = 16182 // i: waiting for modification time (gzip) OS = 16183 // i: waiting for extra flags and operating system (gzip) EXLEN = 16184 // i: waiting for extra length (gzip) EXTRA = 16185 // i: waiting for extra bytes (gzip) NAME = 16186 // i: waiting for end of file name (gzip) COMMENT = 16187 // i: waiting for end of comment (gzip) HCRC = 16188 // i: waiting for header crc (gzip) DICTID = 16189 // i: waiting for dictionary check value DICT = 16190 // waiting for inflateSetDictionary() call TYPE = 16191 // i: waiting for type bits, including last-flag bit TYPEDO = 16192 // i: same, but skip check to exit inflate on new block STORED = 16193 // i: waiting for stored size (length and complement) COPY_ = 16194 // i/o: same as COPY below, but only first time in COPY = 16195 // i/o: waiting for input or output to copy stored block TABLE = 16196 // i: waiting for dynamic block table lengths LENLENS = 16197 // i: waiting for code length code lengths CODELENS = 16198 // i: waiting for length/lit and distance code lengths LEN_ = 16199 // i: same as LEN below, but only first time in LEN = 16200 // i: waiting for length/lit/eob code LENEXT = 16201 // i: waiting for length extra bits DIST = 16202 // i: waiting for distance code DISTEXT = 16203 // i: waiting for distance extra bits MATCH = 16204 // o: waiting for output space to copy string LIT = 16205 // o: waiting for output space to write literal CHECK = 16206 // i: waiting for 32-bit check value LENGTH = 16207 // i: waiting for 32-bit length (gzip) DONE = 16208 // finished check, done -- remain here until reset BAD = 16209 // got a data error -- remain here until reset MEM = 16210 // got an inflate() memory error -- remain here until reset SYNC = 16211 )
Possible inflate modes between inflate() calls
const ( CODES = 0 LENS = 1 DISTS = 2 )
Type of code to build for inflate_table()
Variables ¶
var CAPI = map[string]struct{}{}/* 101 elements not displayed */
var X_dist_code = [512]Uch{} /* trees.h:73:25 *//* 512 elements not displayed */
var X_length_code = [256]Uch{} /* trees.h:102:25 *//* 256 elements not displayed */
var Xdeflate_copyright = *(*[69]int8)(unsafe.Pointer(ts + 7)) /* deflate.c:54:12 */
var Xinflate_copyright = *(*[48]int8)(unsafe.Pointer(ts + 828)) /* inftrees.c:11:12 */
Functions ¶
func X_tr_align ¶
=========================================================================== Send one empty static block to give enough lookahead for inflate. This takes 10 bits, of which 7 may remain in the bit buffer.
func X_tr_flush_bits ¶
=========================================================================== Flush the bits in the bit buffer to pending output (leaves at most 7 bits)
func X_tr_flush_block ¶
=========================================================================== Determine the best encoding for the current block: dynamic trees, static trees or store, and write out the encoded block.
func X_tr_init ¶
=========================================================================== Initialize the tree data structures for a new zlib stream.
func X_tr_stored_block ¶
=========================================================================== Send a stored block
func X_tr_tally ¶
=========================================================================== Save the match info and tally the frequency counts. Return true if the current block must be flushed.
func Xcompress2 ¶
func Xcompress2(tls *libc.TLS, dest uintptr, destLen uintptr, source uintptr, sourceLen ULong, level int32) int32
===========================================================================
Compresses the source buffer into the destination buffer. The level parameter has the same meaning as in deflateInit. sourceLen is the byte length of the source buffer. Upon entry, destLen is the total size of the destination buffer, which must be at least 0.1% larger than sourceLen plus 12 bytes. Upon exit, destLen is the actual size of the compressed buffer. compress2 returns Z_OK if success, Z_MEM_ERROR if there was not enough memory, Z_BUF_ERROR if there was not enough room in the output buffer, Z_STREAM_ERROR if the level parameter is invalid.
func XdeflateCopy ¶
========================================================================= Copy the source state to the destination state. To simplify the source, this is not supported for 16-bit MSDOS (which doesn't have enough memory anyway to duplicate compression states).
func XdeflateEnd ¶
=========================================================================
func XdeflateGetDictionary ¶
func XdeflateGetDictionary(tls *libc.TLS, strm Z_streamp, dictionary uintptr, dictLength uintptr) int32
=========================================================================
func XdeflateInit2_ ¶
func XdeflateInit2_(tls *libc.TLS, strm Z_streamp, level int32, method int32, windowBits int32, memLevel int32, strategy int32, version uintptr, stream_size int32) int32
=========================================================================
func XdeflateInit_ ¶
func XdeflateInit_(tls *libc.TLS, strm Z_streamp, level int32, version uintptr, stream_size int32) int32
=========================================================================
func XdeflateParams ¶
=========================================================================
func XdeflatePending ¶
=========================================================================
func XdeflatePrime ¶
=========================================================================
func XdeflateReset ¶
=========================================================================
func XdeflateResetKeep ¶
=========================================================================
func XdeflateSetDictionary ¶
func XdeflateSetDictionary(tls *libc.TLS, strm Z_streamp, dictionary uintptr, dictLength UInt) int32
=========================================================================
func XdeflateSetHeader ¶
func XdeflateSetHeader(tls *libc.TLS, strm Z_streamp, head Gz_headerp) int32
=========================================================================
func XdeflateTune ¶
func XdeflateTune(tls *libc.TLS, strm Z_streamp, good_length int32, max_lazy int32, nice_length int32, max_chain int32) int32
=========================================================================
func Xget_crc_table ¶
========================================================================= This function can be used by asm versions of crc32()
func Xgz_error ¶
Create an error message in allocated memory and set state->err and
state->msg accordingly. Free any previous error message already there. Do not try to free or allocate space if the error is Z_MEM_ERROR (out of memory). Simply save the error message as a static string. If there is an allocation failure constructing the error message, then convert the error to out of memory.
func Xgzclose ¶
gzclose() is in a separate file so that it is linked in only if it is used.
That way the other gzclose functions can be used instead to avoid linking in unneeded compression or decompression routines.
func Xgzsetparams ¶
-- see zlib.h --
func Xgzvprintf ¶
-- see zlib.h --
func XinflateBack ¶
func XinflateBack(tls *libc.TLS, strm Z_streamp, in In_func, in_desc uintptr, out Out_func, out_desc uintptr) int32
strm provides the memory allocation functions and window buffer on input, and provides information on the unused input on return. For Z_DATA_ERROR returns, strm will also provide an error message.
in() and out() are the call-back input and output functions. When inflateBack() needs more input, it calls in(). When inflateBack() has filled the window with output, or when it completes with data in the window, it calls out() to write out the data. The application must not change the provided input until in() is called again or inflateBack() returns. The application must not change the window/output buffer until inflateBack() returns.
in() and out() are called with a descriptor parameter provided in the inflateBack() call. This parameter can be a structure that provides the information required to do the read or write, as well as accumulated information on the input and output such as totals and check values.
in() should return zero on failure. out() should return non-zero on failure. If either in() or out() fails, than inflateBack() returns a Z_BUF_ERROR. strm->next_in can be checked for Z_NULL to see whether it was in() or out() that caused in the error. Otherwise, inflateBack() returns Z_STREAM_END on success, Z_DATA_ERROR for an deflate format error, or Z_MEM_ERROR if it could not allocate memory for the state. inflateBack() can also return Z_STREAM_ERROR if the input parameters are not correct, i.e. strm is Z_NULL or the state was not initialized.
func XinflateBackInit_ ¶
func XinflateBackInit_(tls *libc.TLS, strm Z_streamp, windowBits int32, window uintptr, version uintptr, stream_size int32) int32
strm provides memory allocation functions in zalloc and zfree, or Z_NULL to use the library memory allocation functions.
windowBits is in the range 8..15, and window is a user-supplied window and output buffer that is 2**windowBits bytes.
func XinflateGetDictionary ¶
func XinflateGetHeader ¶
func XinflateGetHeader(tls *libc.TLS, strm Z_streamp, head Gz_headerp) int32
func XinflateInit2_ ¶
func XinflateInit_ ¶
func XinflatePrime ¶
func XinflateSetDictionary ¶
func XinflateSyncPoint ¶
Returns true if inflate is currently at the end of a block generated by Z_SYNC_FLUSH or Z_FULL_FLUSH. This function is used by one PPP implementation to provide an additional safety check. PPP uses Z_SYNC_FLUSH but removes the length bytes of the resulting empty stored block. When decompressing, PPP checks that at the end of input packet, inflate is waiting for these length bytes.
func Xinflate_fast ¶
Decode literal, length, and distance codes and write out the resulting literal and match bytes until either not enough input or output is available, an end-of-block is encountered, or a data error is encountered. When large enough input and output buffers are supplied to inflate(), for example, a 16K input buffer and a 64K output buffer, more than 95% of the inflate execution time is spent in this routine.
Entry assumptions:
state->mode == LEN strm->avail_in >= 6 strm->avail_out >= 258 start >= strm->avail_out state->bits < 8
On return, state->mode is one of:
LEN -- ran out of enough output space or enough available input TYPE -- reached end of block code, inflate() to interpret next block BAD -- error in block data
Notes:
The maximum input bits used by a length/distance pair is 15 bits for the length code, 5 bits for the length extra, 15 bits for the distance code, and 13 bits for the distance extra. This totals 48 bits, or six bytes. Therefore if strm->avail_in >= 6, then there is enough input to avoid checking for available input while decoding.
The maximum bytes that a single length/distance pair can output is 258 bytes, which is the maximum length that can be coded. inflate_fast() requires strm->avail_out >= 258 for each loop to avoid checking for output space.
func Xinflate_table ¶
func Xinflate_table(tls *libc.TLS, type1 Codetype, lens uintptr, codes uint32, table uintptr, bits uintptr, work uintptr) int32
Build a set of tables to decode the provided canonical Huffman code. The code lengths are lens[0..codes-1]. The result starts at *table, whose indices are 0..2^bits-1. work is a writable array of at least lens shorts, which is used as a work area. type is the type of code to be generated, CODES, LENS, or DISTS. On return, zero is success, -1 is an invalid code, and +1 means that ENOUGH isn't enough. table on return points to the next available entry's address. bits is the requested root table index bits, and on return it is the actual root table index bits. It will differ if the request is greater than the longest code or if it is less than the shortest code.
func Xuncompress ¶
func Xuncompress2 ¶
func Xuncompress2(tls *libc.TLS, dest uintptr, destLen uintptr, source uintptr, sourceLen uintptr) int32
===========================================================================
Decompresses the source buffer into the destination buffer. *sourceLen is the byte length of the source buffer. Upon entry, *destLen is the total size of the destination buffer, which must be large enough to hold the entire uncompressed data. (The size of the uncompressed data must have been saved previously by the compressor and transmitted to the decompressor by some mechanism outside the scope of this compression library.) Upon exit, *destLen is the size of the decompressed data and *sourceLen is the number of source bytes consumed. Upon return, source + *sourceLen points to the first unused input byte. uncompress returns Z_OK if success, Z_MEM_ERROR if there was not enough memory, Z_BUF_ERROR if there was not enough room in the output buffer, or Z_DATA_ERROR if the input data was corrupted, including if the input data is an incomplete zlib stream.
func XzlibVersion ¶
Types ¶
type Alloc_func ¶
type Alloc_func = uintptr /* zlib.h:81:16 */
type Blkcnt64_t ¶
type Blkcnt64_t = X__blkcnt64_t /* types.h:219:22 */ // Type to count number of disk blocks.
type Blkcnt_t ¶
type Blkcnt_t = X__blkcnt64_t /* types.h:205:22 */ // Type to count number of disk blocks.
Types from the Large File Support interface.
type Blksize_t ¶
type Blksize_t = X__blksize_t /* types.h:185:21 */
type Block_state ¶
type Block_state = uint32 /* deflate.c:71:3 */
===========================================================================
Function prototypes.
type Caddr_t ¶
type Caddr_t = X__caddr_t /* types.h:115:19 */
type Clockid_t ¶
type Clockid_t = X__clockid_t /* clockid_t.h:7:21 */
Clock ID used in clock and timer functions.
type Code ¶
Structure for decoding tables. Each entry provides either the
information needed to do the operation requested by the code that indexed that table entry, or it provides a pointer to another table that indexes more bits of the code. op indicates whether the entry is a pointer to another table, a literal, a length or distance, an end-of-block, or an invalid code. For a table pointer, the low four bits of op is the number of index bits of that table. For a length or distance, the low four bits of op is the number of extra bits to get after the code. bits is the number of bits in this code or part of the code to drop off of the bit buffer. val is the actual byte to output in the case of a literal, the base length or distance, or the offset from the current table to the next table. Each entry is four bytes.
type Codetype ¶
type Codetype = uint32 /* inftrees.h:58:3 */
Type of code to build for inflate_table()
type Compress_func ¶
type Compress_func = uintptr /* deflate.c:73:21 */
type Config ¶
type Config = Config_s /* deflate.c:126:3 */
Values for max_lazy_match, good_match and max_chain_length, depending on the desired pack level (0..9). The values given below have been tuned to exclude worst case performance for pathological files. Better values may be found for specific files.
type Config_s ¶
type Config_s = struct { Fgood_length Ush Fmax_lazy Ush Fnice_length Ush Fmax_chain Ush Ffunc Compress_func } /* deflate.c:120:9 */
Values for max_lazy_match, good_match and max_chain_length, depending on the desired pack level (0..9). The values given below have been tuned to exclude worst case performance for pathological files. Better values may be found for specific files.
type Ct_data ¶
type Ct_data = Ct_data_s /* deflate.h:77:7 */
Data structure describing a single value and its code string.
type Daddr_t ¶
type Daddr_t = X__daddr_t /* types.h:114:19 */
type Deflate_state ¶
type Deflate_state = Internal_state /* deflate.h:276:7 */
type Drand48_data ¶
type Drand48_data = struct { F__x [3]uint16 F__old_x [3]uint16 F__c uint16 F__init uint16 F__a uint64 } /* stdlib.h:490:1 */
Data structure for communication with thread safe versions. This
type is to be regarded as opaque. It's only exported because users have to allocate objects of this type.
type FILE ¶
type FILE = X_IO_FILE /* FILE.h:7:25 */
The opaque type of streams. This is the definition used elsewhere.
type Fd_mask ¶
type Fd_mask = X__fd_mask /* select.h:77:19 */
Sometimes the fd_set member is assumed to have this type.
type Fd_set ¶
type Fd_set = struct{ F__fds_bits [16]X__fd_mask } /* select.h:70:5 */
fd_set for select and pselect.
type Flock64 ¶
type Flock64 = struct { Fl_type int16 Fl_whence int16 F__ccgo_pad1 [4]byte Fl_start X__off64_t Fl_len X__off64_t Fl_pid X__pid_t F__ccgo_pad2 [4]byte } /* fcntl.h:50:1 */
type Fpos64_t ¶
type Fpos64_t = X__fpos64_t /* stdio.h:89:20 */
type Fpos_t ¶
type Fpos_t = X__fpos_t /* stdio.h:84:18 */
The type of the second argument to `fgetpos' and `fsetpos'.
type Fsblkcnt64_t ¶
type Fsblkcnt64_t = X__fsblkcnt64_t /* types.h:220:24 */ // Type to count file system blocks.
type Fsblkcnt_t ¶
type Fsblkcnt_t = X__fsblkcnt64_t /* types.h:209:24 */ // Type to count file system blocks.
type Fsfilcnt64_t ¶
type Fsfilcnt64_t = X__fsfilcnt64_t /* types.h:221:24 */ // Type to count file system inodes.
type Fsfilcnt_t ¶
type Fsfilcnt_t = X__fsfilcnt64_t /* types.h:213:24 */ // Type to count file system inodes.
type Gz_header ¶
type Gz_header = Gz_header_s /* zlib.h:129:3 */
gzip header information passed to and from zlib routines. See RFC 1952
for more details on the meanings of these fields.
type Gz_header_s ¶
type Gz_header_s = struct { Ftext int32 F__ccgo_pad1 [4]byte Ftime ULong Fxflags int32 Fos int32 Fextra uintptr Fextra_len UInt Fextra_max UInt Fname uintptr Fname_max UInt F__ccgo_pad2 [4]byte Fcomment uintptr Fcomm_max UInt Fhcrc int32 Fdone int32 F__ccgo_pad3 [4]byte } /* zlib.h:114:9 */
gzip header information passed to and from zlib routines. See RFC 1952
for more details on the meanings of these fields.
type Gz_headerp ¶
type Gz_headerp = uintptr /* zlib.h:131:23 */
type Gz_state ¶
type Gz_state = struct { Fx GzFile_s Fmode int32 Ffd int32 Fpath uintptr Fsize uint32 Fwant uint32 Fin uintptr Fout uintptr Fdirect int32 Fhow int32 Fstart Off64_t Feof int32 Fpast int32 Flevel int32 Fstrategy int32 Fskip Off64_t Fseek int32 Ferr int32 Fmsg uintptr Fstrm Z_stream } /* gzguts.h:201:3 */
internal gzip file state data structure
type Inflate_mode ¶
type Inflate_mode = uint32 /* inflate.h:53:3 */
Possible inflate modes between inflate() calls
type Inflate_state ¶
type Inflate_state = struct { Fstrm Z_streamp Fmode Inflate_mode Flast int32 Fwrap int32 Fhavedict int32 Fflags int32 Fdmax uint32 Fcheck uint64 Ftotal uint64 Fhead Gz_headerp Fwbits uint32 Fwsize uint32 Fwhave uint32 Fwnext uint32 Fwindow uintptr Fhold uint64 Fbits uint32 Flength uint32 Foffset uint32 Fextra uint32 Flencode uintptr Fdistcode uintptr Flenbits uint32 Fdistbits uint32 Fncode uint32 Fnlen uint32 Fndist uint32 Fhave uint32 Fnext uintptr Flens [320]uint16 Fwork [288]uint16 Fcodes [1444]Code Fsane int32 Fback int32 Fwas uint32 F__ccgo_pad1 [4]byte } /* inflate.h:82:1 */
State maintained between inflate() calls -- approximately 7K bytes, not
including the allocated sliding window, which is up to 32K bytes.
type Ino64_t ¶
type Ino64_t = X__ino64_t /* types.h:54:19 */
type Ino_t ¶
type Ino_t = X__ino64_t /* types.h:49:19 */
type Int16_t ¶
type Int16_t = X__int16_t /* stdint-intn.h:25:19 */
type Int32_t ¶
type Int32_t = X__int32_t /* stdint-intn.h:26:19 */
type Int64_t ¶
type Int64_t = X__int64_t /* stdint-intn.h:27:19 */
type Internal_state ¶
type Internal_state = struct { Fstrm Z_streamp Fstatus int32 F__ccgo_pad1 [4]byte Fpending_buf uintptr Fpending_buf_size Ulg Fpending_out uintptr Fpending Ulg Fwrap int32 F__ccgo_pad2 [4]byte Fgzhead Gz_headerp Fgzindex Ulg Fmethod Byte F__ccgo_pad3 [3]byte Flast_flush int32 Fw_size UInt Fw_bits UInt Fw_mask UInt F__ccgo_pad4 [4]byte Fwindow uintptr Fwindow_size Ulg Fprev uintptr Fhead uintptr Fins_h UInt Fhash_size UInt Fhash_bits UInt Fhash_mask UInt Fhash_shift UInt F__ccgo_pad5 [4]byte Fblock_start int64 Fmatch_length UInt Fprev_match IPos Fmatch_available int32 Fstrstart UInt Fmatch_start UInt Flookahead UInt Fprev_length UInt Fmax_chain_length UInt Fmax_lazy_match UInt Flevel int32 Fstrategy int32 Fgood_match UInt Fnice_match int32 Fdyn_ltree [573]struct { Ffc struct{ Ffreq Ush } Fdl struct{ Fdad Ush } } Fdyn_dtree [61]struct { Ffc struct{ Ffreq Ush } Fdl struct{ Fdad Ush } } Fbl_tree [39]struct { Ffc struct{ Ffreq Ush } Fdl struct{ Fdad Ush } } Fl_desc struct { Fdyn_tree uintptr Fmax_code int32 F__ccgo_pad1 [4]byte Fstat_desc uintptr } Fd_desc struct { Fdyn_tree uintptr Fmax_code int32 F__ccgo_pad1 [4]byte Fstat_desc uintptr } Fbl_desc struct { Fdyn_tree uintptr Fmax_code int32 F__ccgo_pad1 [4]byte Fstat_desc uintptr } Fbl_count [16]Ush Fheap [573]int32 Fheap_len int32 Fheap_max int32 Fdepth [573]Uch F__ccgo_pad6 [7]byte Fl_buf uintptr Flit_bufsize UInt Flast_lit UInt Fd_buf uintptr Fopt_len Ulg Fstatic_len Ulg Fmatches UInt Finsert UInt Fbi_buf Ush F__ccgo_pad7 [2]byte Fbi_valid int32 Fhigh_water Ulg } /* zlib.h:84:1 */
type Intptr_t ¶
type Intptr_t = X__intptr_t /* unistd.h:267:20 */
type Locale_t ¶
type Locale_t = X__locale_t /* locale_t.h:24:20 */
type Max_align_t ¶
Type whose alignment is supported in every context and is at least
as great as that of any standard type not using alignment specifiers.
type Nlink_t ¶
type Nlink_t = X__nlink_t /* types.h:74:19 */
type Pthread_attr_t ¶
type Pthread_attr_t = Pthread_attr_t1 /* pthreadtypes.h:62:30 */
type Pthread_attr_t1 ¶
type Pthread_attr_t1 = struct { F__size [56]int8 // contains filtered or unexported fields } /* pthreadtypes.h:56:1 */
type Pthread_barrier_t ¶
type Pthread_barrier_t = struct { F__size [32]int8 // contains filtered or unexported fields } /* pthreadtypes.h:112:3 */
POSIX barriers data type. The structure of the type is
deliberately not exposed.
type Pthread_barrierattr_t ¶
type Pthread_barrierattr_t = struct { F__size [4]int8 // contains filtered or unexported fields } /* pthreadtypes.h:118:3 */
type Pthread_cond_t ¶
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
type Pthread_condattr_t ¶
type Pthread_condattr_t = struct { F__size [4]int8 // contains filtered or unexported fields } /* pthreadtypes.h:45:3 */
Data structure for condition variable handling. The structure of
the attribute type is not exposed on purpose.
type Pthread_key_t ¶
type Pthread_key_t = uint32 /* pthreadtypes.h:49:22 */
Keys for thread-specific data
type Pthread_mutex_t ¶
type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72:3 */
type Pthread_mutexattr_t ¶
type Pthread_mutexattr_t = struct { F__size [4]int8 // contains filtered or unexported fields } /* pthreadtypes.h:36:3 */
Data structures for mutex handling. The structure of the attribute
type is not exposed on purpose.
type Pthread_rwlock_t ¶
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
Data structure for reader-writer lock variable handling. The
structure of the attribute type is deliberately not exposed.
type Pthread_rwlockattr_t ¶
type Pthread_rwlockattr_t = struct { F__size [8]int8 // contains filtered or unexported fields } /* pthreadtypes.h:97:3 */
type Pthread_spinlock_t ¶
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
POSIX spinlock data type.
type Pthread_t ¶
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
Thread identifiers. The structure of the attribute type is not
exposed on purpose.
type Random_data ¶
type Register_t ¶
type Register_t = int32 /* types.h:164:13 */
type Sigset_t ¶
type Sigset_t = X__sigset_t /* sigset_t.h:7:20 */
A set of signals to be blocked, unblocked, or waited for.
type Socklen_t ¶
type Socklen_t = X__socklen_t /* unistd.h:274:21 */
type Ssize_t ¶
type Ssize_t = X__ssize_t /* types.h:108:19 */
type Stat ¶
type Stat = struct { Fst_dev X__dev_t Fst_ino X__ino_t Fst_nlink X__nlink_t Fst_mode X__mode_t Fst_uid X__uid_t Fst_gid X__gid_t F__pad0 int32 Fst_rdev X__dev_t Fst_size X__off_t Fst_blksize X__blksize_t Fst_blocks X__blkcnt_t Fst_atim struct { Ftv_sec X__time_t Ftv_nsec X__syscall_slong_t } Fst_mtim struct { Ftv_sec X__time_t Ftv_nsec X__syscall_slong_t } Fst_ctim struct { Ftv_sec X__time_t Ftv_nsec X__syscall_slong_t } F__glibc_reserved [3]X__syscall_slong_t } /* stat.h:46:1 */
type Stat64 ¶
type Stat64 = struct { Fst_dev X__dev_t Fst_ino X__ino64_t Fst_nlink X__nlink_t Fst_mode X__mode_t Fst_uid X__uid_t Fst_gid X__gid_t F__pad0 int32 Fst_rdev X__dev_t Fst_size X__off_t Fst_blksize X__blksize_t Fst_blocks X__blkcnt64_t Fst_atim struct { Ftv_sec X__time_t Ftv_nsec X__syscall_slong_t } Fst_mtim struct { Ftv_sec X__time_t Ftv_nsec X__syscall_slong_t } Fst_ctim struct { Ftv_sec X__time_t Ftv_nsec X__syscall_slong_t } F__glibc_reserved [3]X__syscall_slong_t } /* stat.h:119:1 */
Note stat64 has the same shape as stat for x86-64.
type Static_tree_desc ¶
type Static_tree_desc = Static_tree_desc_s /* deflate.h:84:36 */
type Static_tree_desc_s ¶
type Suseconds_t ¶
type Suseconds_t = X__suseconds_t /* select.h:43:23 */
type Timespec ¶
type Timespec = struct { Ftv_sec X__time_t Ftv_nsec X__syscall_slong_t } /* struct_timespec.h:10:1 */
POSIX.1b structure for a time value. This is like a `struct timeval' but
has nanoseconds instead of microseconds.
type Timeval ¶
type Timeval = struct { Ftv_sec X__time_t Ftv_usec X__suseconds_t } /* struct_timeval.h:8:1 */
A time value that is accurate to the nearest
microsecond but also has a range of years.
type Tree_desc ¶
type Tree_desc = Tree_desc_s /* deflate.h:90:7 */
type Tree_desc_s ¶
type ULong ¶
type ULong = uint64 /* zconf.h:394:24 */ // 32 bits or more
func Xadler32_combine ¶
=========================================================================
func Xadler32_combine64 ¶
func Xadler32_z ¶
=========================================================================
func XcompressBound ¶
===========================================================================
If the default memLevel or windowBits for deflateInit() is changed, then this function needs to be updated.
func Xcrc32_combine ¶
=========================================================================
func Xcrc32_combine64 ¶
func XdeflateBound ¶
========================================================================= For the default windowBits of 15 and memLevel of 8, this function returns a close to exact, as well as small, upper bound on the compressed size. They are coded as constants here for a reason--if the #define's are changed, then this function needs to be changed as well. The return value for 15 and 8 only works for those exact settings.
For any setting other than those defaults for windowBits and memLevel, the value returned is a conservative worst case for the maximum expansion resulting from using fixed blocks instead of stored blocks, which deflate can emit on compressed data for some combinations of the parameters.
This function could be more sophisticated to provide closer upper bounds for every combination of windowBits and memLevel. But even the conservative upper bound of about 14% expansion does not seem onerous for output buffer allocation.
func XzlibCompileFlags ¶
type U_int16_t ¶
type U_int16_t = X__uint16_t /* types.h:159:20 */
type U_int32_t ¶
type U_int32_t = X__uint32_t /* types.h:160:20 */
type U_int64_t ¶
type U_int64_t = X__uint64_t /* types.h:161:20 */
type U_int8_t ¶
type U_int8_t = X__uint8_t /* types.h:158:19 */
These were defined by ISO C without the first `_'.
type U_quad_t ¶
type U_quad_t = X__u_quad_t /* types.h:38:20 */
type U_short ¶
type U_short = X__u_short /* types.h:34:19 */
type Useconds_t ¶
type Useconds_t = X__useconds_t /* unistd.h:255:22 */
type Va_list ¶
type Va_list = X__gnuc_va_list /* stdarg.h:99:24 */
The macro _VA_LIST_ is the same thing used by this file in Ultrix.
But on BSD NET2 we must not test or define or undef it. (Note that the comments in NET 2's ansi.h are incorrect for _VA_LIST_--see stdio.h!)
The macro _VA_LIST_DEFINED is used in Windows NT 3.5 The macro _VA_LIST is used in SCO Unix 3.2. The macro _VA_LIST_T_H is used in the Bull dpx2 The macro __va_list__ is used by BeOS.
type X_G_fpos64_t ¶
type X_G_fpos64_t = struct { F__pos X__off64_t F__state X__mbstate_t } /* __fpos64_t.h:10:9 */
The tag name of this struct is _G_fpos64_t to preserve historic
C++ mangled names for functions taking fpos_t and/or fpos64_t arguments. That name should not be used in new code.
type X_G_fpos_t ¶
type X_G_fpos_t = struct { F__pos X__off_t F__state X__mbstate_t } /* __fpos_t.h:10:9 */
The tag name of this struct is _G_fpos_t to preserve historic
C++ mangled names for functions taking fpos_t arguments. That name should not be used in new code.
type X_IO_FILE ¶
type X_IO_FILE = struct { F_flags int32 F__ccgo_pad1 [4]byte F_IO_read_ptr uintptr F_IO_read_end uintptr F_IO_read_base uintptr F_IO_write_base uintptr F_IO_write_ptr uintptr F_IO_write_end uintptr F_IO_buf_base uintptr F_IO_buf_end uintptr F_IO_save_base uintptr F_IO_backup_base uintptr F_IO_save_end uintptr F_markers uintptr F_chain uintptr F_fileno int32 F_flags2 int32 F_old_offset X__off_t F_cur_column uint16 F_vtable_offset int8 F_shortbuf [1]int8 F__ccgo_pad2 [4]byte F_lock uintptr F_offset X__off64_t F_codecvt uintptr F_wide_data uintptr F_freeres_list uintptr F_freeres_buf uintptr F__pad5 Size_t F_mode int32 F_unused2 [20]int8 } /* __FILE.h:4:1 */
type X__blkcnt64_t ¶
type X__blkcnt64_t = int64 /* types.h:180:30 */
type X__blkcnt_t ¶
type X__blkcnt_t = int64 /* types.h:179:28 */
Type to count number of disk blocks.
type X__builtin_va_list ¶
type X__builtin_va_list = uintptr /* <builtin>:46:14 */
type X__caddr_t ¶
type X__caddr_t = uintptr /* types.h:203:14 */
type X__clock_t ¶
type X__clock_t = int64 /* types.h:156:27 */ // Type of CPU usage counts.
type X__clockid_t ¶
type X__clockid_t = int32 /* types.h:168:29 */
Clock ID used in clock and timer functions.
type X__compar_fn_t ¶
type X__compar_fn_t = uintptr /* stdlib.h:808:13 */
Shorthand for type of comparison functions.
type X__daddr_t ¶
type X__daddr_t = int32 /* types.h:164:27 */ // The type of a disk address.
type X__fd_mask ¶
type X__fd_mask = int64 /* select.h:49:18 */
The fd_set member is required to be an array of longs.
type X__float128 ¶
type X__float128 = float64 /* <builtin>:47:21 */
type X__fpos64_t ¶
type X__fpos64_t = X_G_fpos64_t /* __fpos64_t.h:14:3 */
The tag name of this struct is _G_fpos64_t to preserve historic
C++ mangled names for functions taking fpos_t and/or fpos64_t arguments. That name should not be used in new code.
type X__fpos_t ¶
type X__fpos_t = X_G_fpos_t /* __fpos_t.h:14:3 */
The tag name of this struct is _G_fpos_t to preserve historic
C++ mangled names for functions taking fpos_t arguments. That name should not be used in new code.
type X__fsblkcnt64_t ¶
type X__fsblkcnt64_t = uint64 /* types.h:184:32 */
type X__fsblkcnt_t ¶
type X__fsblkcnt_t = uint64 /* types.h:183:30 */
Type to count file system blocks.
type X__fsfilcnt64_t ¶
type X__fsfilcnt64_t = uint64 /* types.h:188:32 */
type X__fsfilcnt_t ¶
type X__fsfilcnt_t = uint64 /* types.h:187:30 */
Type to count file system nodes.
type X__fsid_t ¶
type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs.
type X__fsword_t ¶
type X__fsword_t = int64 /* types.h:191:28 */
Type of miscellaneous file system fields.
type X__gnuc_va_list ¶
type X__gnuc_va_list = X__builtin_va_list /* stdarg.h:40:27 */
type X__ino64_t ¶
type X__ino64_t = uint64 /* types.h:149:27 */ // Type of file serial numbers (LFS).
type X__int128_t ¶
type X__int16_t ¶
type X__int16_t = int16 /* types.h:39:26 */
type X__int32_t ¶
type X__int32_t = int32 /* types.h:41:20 */
type X__int64_t ¶
type X__int64_t = int64 /* types.h:44:25 */
type X__int8_t ¶
type X__int8_t = int8 /* types.h:37:21 */
Fixed-size types, underlying types depend on word size and compiler.
type X__int_least16_t ¶
type X__int_least16_t = X__int16_t /* types.h:54:19 */
type X__int_least32_t ¶
type X__int_least32_t = X__int32_t /* types.h:56:19 */
type X__int_least64_t ¶
type X__int_least64_t = X__int64_t /* types.h:58:19 */
type X__int_least8_t ¶
type X__int_least8_t = X__int8_t /* types.h:52:18 */
Smallest types with at least a given width.
type X__intptr_t ¶
type X__intptr_t = int64 /* types.h:206:25 */
Duplicates info from stdint.h but this is used in unistd.h.
type X__locale_struct ¶
type X__locale_t ¶
type X__locale_t = uintptr /* __locale_t.h:42:32 */
type X__loff_t ¶
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
These few don't really vary by system, they always correspond
to one of the other defined types.
type X__mbstate_t ¶
type X__mbstate_t = struct { F__count int32 F__value struct{ F__wch uint32 } } /* __mbstate_t.h:21:3 */
Conversion state information.
type X__nlink_t ¶
type X__nlink_t = uint64 /* types.h:151:27 */ // Type of file link counts.
type X__off64_t ¶
type X__off64_t = int64 /* types.h:153:27 */ // Type of file sizes and offsets (LFS).
type X__pthread_cond_s ¶
type X__pthread_internal_slist ¶ added in v1.2.7
type X__pthread_internal_slist = struct{ F__next uintptr } /* thread-shared-types.h:55:9 */
type X__pthread_list_t ¶
type X__pthread_list_t = X__pthread_internal_list /* thread-shared-types.h:53:3 */
type X__pthread_mutex_s ¶
type X__pthread_slist_t ¶ added in v1.2.7
type X__pthread_slist_t = X__pthread_internal_slist /* thread-shared-types.h:58:3 */
type X__rlim64_t ¶
type X__rlim64_t = uint64 /* types.h:158:28 */ // Type for resource measurement (LFS).
type X__sig_atomic_t ¶
type X__sig_atomic_t = int32 /* types.h:214:13 */
C99: An integer type that can be accessed as an atomic entity,
even in the presence of asynchronous interrupts. It is not currently necessary for this to be machine-specific.
type X__sigset_t ¶
type X__sigset_t = struct{ F__val [16]uint64 } /* __sigset_t.h:8:3 */
type X__socklen_t ¶
type X__socklen_t = uint32 /* types.h:209:23 */
Duplicate info from sys/socket.h.
type X__ssize_t ¶
type X__ssize_t = int64 /* types.h:193:27 */ // Type of a byte count, or error.
type X__suseconds_t ¶
type X__suseconds_t = int64 /* types.h:162:31 */ // Signed count of microseconds.
type X__syscall_slong_t ¶
type X__syscall_slong_t = int64 /* types.h:196:33 */
Signed long type used in system calls.
type X__syscall_ulong_t ¶
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
Unsigned long type used in system calls.
type X__timer_t ¶
type X__timer_t = uintptr /* types.h:171:12 */
Timer ID returned by `timer_create'.
type X__u_quad_t ¶
type X__u_quad_t = uint64 /* types.h:64:27 */
type X__u_short ¶
type X__u_short = uint16 /* types.h:32:28 */
type X__uint128_t ¶
type X__uint16_t ¶
type X__uint16_t = uint16 /* types.h:40:28 */
type X__uint32_t ¶
type X__uint32_t = uint32 /* types.h:42:22 */
type X__uint64_t ¶
type X__uint64_t = uint64 /* types.h:45:27 */
type X__uint8_t ¶
type X__uint8_t = uint8 /* types.h:38:23 */
type X__uint_least16_t ¶
type X__uint_least16_t = X__uint16_t /* types.h:55:20 */
type X__uint_least32_t ¶
type X__uint_least32_t = X__uint32_t /* types.h:57:20 */
type X__uint_least64_t ¶
type X__uint_least64_t = X__uint64_t /* types.h:59:20 */
type X__uint_least8_t ¶
type X__uint_least8_t = X__uint8_t /* types.h:53:19 */
type X__uintmax_t ¶
type X__uintmax_t = uint64 /* types.h:73:27 */
type X__useconds_t ¶
type X__useconds_t = uint32 /* types.h:161:30 */ // Count of microseconds.
type Z_stream ¶
type Z_stream = Z_stream_s /* zlib.h:106:3 */
type Z_stream_s ¶
type Z_stream_s = struct { Fnext_in uintptr Favail_in UInt F__ccgo_pad1 [4]byte Ftotal_in ULong Fnext_out uintptr Favail_out UInt F__ccgo_pad2 [4]byte Ftotal_out ULong Fmsg uintptr Fstate uintptr Fzalloc Alloc_func Fzfree Free_func Fopaque Voidpf Fdata_type int32 F__ccgo_pad3 [4]byte Fadler ULong Freserved ULong } /* zlib.h:86:9 */