limits

package
v1.16.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2022 License: BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	AIO_PRIO_DELTA_MAX                   = 20                   // local_lim.h:78:1:
	BC_BASE_MAX                          = 99                   // posix2_lim.h:63:1:
	BC_DIM_MAX                           = 2048                 // posix2_lim.h:66:1:
	BC_SCALE_MAX                         = 99                   // posix2_lim.h:69:1:
	BC_STRING_MAX                        = 1000                 // posix2_lim.h:72:1:
	CHARCLASS_NAME_MAX                   = 2048                 // posix2_lim.h:84:1:
	CHAR_BIT                             = 8                    // limits.h:64:1:
	CHAR_MAX                             = 127                  // limits.h:99:1:
	CHAR_MIN                             = -128                 // limits.h:97:1:
	COLL_WEIGHTS_MAX                     = 255                  // posix2_lim.h:75:1:
	DELAYTIMER_MAX                       = 2147483647           // local_lim.h:84:1:
	EXPR_NEST_MAX                        = 32                   // posix2_lim.h:78:1:
	HOST_NAME_MAX                        = 64                   // local_lim.h:93:1:
	INT_MAX                              = 2147483647           // limits.h:120:1:
	INT_MIN                              = -2147483648          // limits.h:118:1:
	LINE_MAX                             = 2048                 // posix2_lim.h:81:1:
	LLONG_MAX                            = 9223372036854775807  // limits.h:142:1:
	LLONG_MIN                            = -9223372036854775808 // limits.h:140:1:
	LOGIN_NAME_MAX                       = 256                  // local_lim.h:90:1:
	LONG_MAX                             = 9223372036854775807  // limits.h:131:1:
	LONG_MIN                             = -9223372036854775808 // limits.h:129:1:
	MAX_CANON                            = 255                  // limits.h:10:1:
	MAX_INPUT                            = 255                  // limits.h:11:1:
	MB_LEN_MAX                           = 16                   // limits.h:32:1:
	MQ_PRIO_MAX                          = 32768                // local_lim.h:96:1:
	NAME_MAX                             = 255                  // limits.h:12:1:
	NGROUPS_MAX                          = 65536                // limits.h:7:1:
	PATH_MAX                             = 4096                 // limits.h:13:1:
	PIPE_BUF                             = 4096                 // limits.h:14:1:
	PTHREAD_DESTRUCTOR_ITERATIONS        = 4                    // local_lim.h:69:1:
	PTHREAD_KEYS_MAX                     = 1024                 // local_lim.h:64:1:
	PTHREAD_STACK_MIN                    = 16384                // local_lim.h:81:1:
	RE_DUP_MAX                           = 32767                // posix2_lim.h:88:1:
	RTSIG_MAX                            = 32                   // limits.h:19:1:
	SCHAR_MAX                            = 127                  // limits.h:75:1:
	SCHAR_MIN                            = -128                 // limits.h:73:1:
	SEM_VALUE_MAX                        = 2147483647           // local_lim.h:99:1:
	SHRT_MAX                             = 32767                // limits.h:106:1:
	SHRT_MIN                             = -32768               // limits.h:104:1:
	SSIZE_MAX                            = 9223372036854775807  // posix1_lim.h:169:1:
	TTY_NAME_MAX                         = 32                   // local_lim.h:87:1:
	UCHAR_MAX                            = 255                  // limits.h:82:1:
	UINT_MAX                             = 4294967295           // limits.h:124:1:
	ULLONG_MAX                           = 18446744073709551615 // limits.h:146:1:
	ULONG_MAX                            = 18446744073709551615 // limits.h:135:1:
	USHRT_MAX                            = 65535                // limits.h:113:1:
	XATTR_LIST_MAX                       = 65536                // limits.h:17:1:
	XATTR_NAME_MAX                       = 255                  // limits.h:15:1:
	XATTR_SIZE_MAX                       = 65536                // limits.h:16:1:
	X_ATFILE_SOURCE                      = 1                    // features.h:342:1:
	X_BITS_POSIX1_LIM_H                  = 1                    // posix1_lim.h:25:1:
	X_BITS_POSIX2_LIM_H                  = 1                    // posix2_lim.h:23:1:
	X_DEFAULT_SOURCE                     = 1                    // features.h:227:1:
	X_FEATURES_H                         = 1                    // features.h:19:1:
	X_FILE_OFFSET_BITS                   = 64                   // <builtin>:25:1:
	X_GCC_LIMITS_H_                      = 0                    // limits.h:30:1:
	X_LIBC_LIMITS_H_                     = 1                    // limits.h:23:1:
	X_LIMITS_H___                        = 0                    // limits.h:60:1:
	X_LINUX_LIMITS_H                     = 0                    // limits.h:3:1:
	X_LP64                               = 1                    // <predefined>:284:1:
	X_POSIX2_BC_BASE_MAX                 = 99                   // posix2_lim.h:27:1:
	X_POSIX2_BC_DIM_MAX                  = 2048                 // posix2_lim.h:30:1:
	X_POSIX2_BC_SCALE_MAX                = 99                   // posix2_lim.h:33:1:
	X_POSIX2_BC_STRING_MAX               = 1000                 // posix2_lim.h:36:1:
	X_POSIX2_CHARCLASS_NAME_MAX          = 14                   // posix2_lim.h:55:1:
	X_POSIX2_COLL_WEIGHTS_MAX            = 2                    // posix2_lim.h:40:1:
	X_POSIX2_EXPR_NEST_MAX               = 32                   // posix2_lim.h:44:1:
	X_POSIX2_LINE_MAX                    = 2048                 // posix2_lim.h:47:1:
	X_POSIX2_RE_DUP_MAX                  = 255                  // posix2_lim.h:51:1:
	X_POSIX_AIO_LISTIO_MAX               = 2                    // posix1_lim.h:32:1:
	X_POSIX_AIO_MAX                      = 1                    // posix1_lim.h:35:1:
	X_POSIX_ARG_MAX                      = 4096                 // posix1_lim.h:38:1:
	X_POSIX_CHILD_MAX                    = 25                   // posix1_lim.h:42:1:
	X_POSIX_CLOCKRES_MIN                 = 20000000             // posix1_lim.h:157:1:
	X_POSIX_C_SOURCE                     = 200809               // features.h:281:1:
	X_POSIX_DELAYTIMER_MAX               = 32                   // posix1_lim.h:48:1:
	X_POSIX_HOST_NAME_MAX                = 255                  // posix1_lim.h:52:1:
	X_POSIX_LINK_MAX                     = 8                    // posix1_lim.h:55:1:
	X_POSIX_LOGIN_NAME_MAX               = 9                    // posix1_lim.h:58:1:
	X_POSIX_MAX_CANON                    = 255                  // posix1_lim.h:61:1:
	X_POSIX_MAX_INPUT                    = 255                  // posix1_lim.h:65:1:
	X_POSIX_MQ_OPEN_MAX                  = 8                    // posix1_lim.h:68:1:
	X_POSIX_MQ_PRIO_MAX                  = 32                   // posix1_lim.h:71:1:
	X_POSIX_NAME_MAX                     = 14                   // posix1_lim.h:74:1:
	X_POSIX_NGROUPS_MAX                  = 8                    // posix1_lim.h:78:1:
	X_POSIX_OPEN_MAX                     = 20                   // posix1_lim.h:85:1:
	X_POSIX_PATH_MAX                     = 256                  // posix1_lim.h:97:1:
	X_POSIX_PIPE_BUF                     = 512                  // posix1_lim.h:100:1:
	X_POSIX_RE_DUP_MAX                   = 255                  // posix1_lim.h:104:1:
	X_POSIX_RTSIG_MAX                    = 8                    // posix1_lim.h:107:1:
	X_POSIX_SEM_NSEMS_MAX                = 256                  // posix1_lim.h:110:1:
	X_POSIX_SEM_VALUE_MAX                = 32767                // posix1_lim.h:113:1:
	X_POSIX_SIGQUEUE_MAX                 = 32                   // posix1_lim.h:116:1:
	X_POSIX_SOURCE                       = 1                    // features.h:279:1:
	X_POSIX_SSIZE_MAX                    = 32767                // posix1_lim.h:119:1:
	X_POSIX_STREAM_MAX                   = 8                    // posix1_lim.h:122:1:
	X_POSIX_SYMLINK_MAX                  = 255                  // posix1_lim.h:125:1:
	X_POSIX_SYMLOOP_MAX                  = 8                    // posix1_lim.h:129:1:
	X_POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4                    // local_lim.h:67:1:
	X_POSIX_THREAD_KEYS_MAX              = 128                  // local_lim.h:62:1:
	X_POSIX_THREAD_THREADS_MAX           = 64                   // local_lim.h:72:1:
	X_POSIX_TIMER_MAX                    = 32                   // posix1_lim.h:132:1:
	X_POSIX_TTY_NAME_MAX                 = 9                    // posix1_lim.h:135:1:
	X_POSIX_TZNAME_MAX                   = 6                    // posix1_lim.h:139:1:
	X_STDC_PREDEF_H                      = 1                    // <predefined>:162:1:
	X_SYS_CDEFS_H                        = 1                    // cdefs.h:19:1:
	Linux                                = 1                    // <predefined>:231:1:
	Unix                                 = 1                    // <predefined>:177:1:
)

Variables

View Source
var CAPI = map[string]struct{}{}

Functions

This section is empty.

Types

type Ptrdiff_t

type Ptrdiff_t = int64 /* <builtin>:3:26 */

type Size_t

type Size_t = uint64 /* <builtin>:9:23 */

type Wchar_t

type Wchar_t = int32 /* <builtin>:15:24 */

type X__builtin_va_list

type X__builtin_va_list = uintptr /* <builtin>:46:14 */

type X__float128

type X__float128 = float64 /* <builtin>:47:21 */

type X__int128_t added in v1.3.0

type X__int128_t = struct {
	Flo int64
	Fhi int64

} /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128

type X__uint128_t added in v1.3.0

type X__uint128_t = struct {
	Flo uint64
	Fhi uint64

} /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL