Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
cpython/Lib/plat-linux/TYPES.py at v3.5.3 · python/cpython · GitHub
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.4k
Star
77.2k
Code
Issues
5k+
Pull requests
2.6k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
v3.5.3
Breadcrumbs
cpython
/
Lib
/
plat-linux
/
TYPES.py
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
170 lines (134 loc) · 3.34 KB
v3.5.3
Breadcrumbs
cpython
/
Lib
/
plat-linux
/
TYPES.py
Copy path
Top
File metadata and controls
Code
Blame
170 lines (134 loc) · 3.34 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# Generated by h2py from /usr/include/sys/types.h
_SYS_TYPES_H
=
1
# Included from features.h
_FEATURES_H
=
1
__USE_ANSI
=
1
__FAVOR_BSD
=
1
_ISOC99_SOURCE
=
1
_POSIX_SOURCE
=
1
_POSIX_C_SOURCE
=
199506
_XOPEN_SOURCE
=
600
_XOPEN_SOURCE_EXTENDED
=
1
_LARGEFILE64_SOURCE
=
1
_BSD_SOURCE
=
1
_SVID_SOURCE
=
1
_BSD_SOURCE
=
1
_SVID_SOURCE
=
1
__USE_ISOC99
=
1
_POSIX_SOURCE
=
1
_POSIX_C_SOURCE
=
2
_POSIX_C_SOURCE
=
199506
__USE_POSIX
=
1
__USE_POSIX2
=
1
__USE_POSIX199309
=
1
__USE_POSIX199506
=
1
__USE_XOPEN
=
1
__USE_XOPEN_EXTENDED
=
1
__USE_UNIX98
=
1
_LARGEFILE_SOURCE
=
1
__USE_XOPEN2K
=
1
__USE_ISOC99
=
1
__USE_XOPEN_EXTENDED
=
1
__USE_LARGEFILE
=
1
__USE_LARGEFILE64
=
1
__USE_FILE_OFFSET64
=
1
__USE_MISC
=
1
__USE_BSD
=
1
__USE_SVID
=
1
__USE_GNU
=
1
__USE_REENTRANT
=
1
__STDC_IEC_559__
=
1
__STDC_IEC_559_COMPLEX__
=
1
__STDC_ISO_10646__
=
200009
__GNU_LIBRARY__
=
6
__GLIBC__
=
2
__GLIBC_MINOR__
=
2
# Included from sys/cdefs.h
_SYS_CDEFS_H
=
1
def
__PMT
(
args
):
return
args
def
__P
(
args
):
return
args
def
__PMT
(
args
):
return
args
def
__STRING
(
x
):
return
#x
__flexarr
=
[]
__flexarr
=
[
0
]
__flexarr
=
[]
__flexarr
=
[
1
]
def
__ASMNAME
(
cname
):
return
__ASMNAME2
(
__USER_LABEL_PREFIX__
,
cname
)
def
__attribute__
(
xyz
):
return
def
__attribute_format_arg__
(
x
):
return
__attribute__
((
__format_arg__
(
x
)))
def
__attribute_format_arg__
(
x
):
return
__USE_LARGEFILE
=
1
__USE_LARGEFILE64
=
1
__USE_EXTERN_INLINES
=
1
# Included from gnu/stubs.h
# Included from bits/types.h
_BITS_TYPES_H
=
1
__FD_SETSIZE
=
1024
# Included from bits/pthreadtypes.h
_BITS_PTHREADTYPES_H
=
1
# Included from bits/sched.h
SCHED_OTHER
=
0
SCHED_FIFO
=
1
SCHED_RR
=
2
CSIGNAL
=
0x000000ff
CLONE_VM
=
0x00000100
CLONE_FS
=
0x00000200
CLONE_FILES
=
0x00000400
CLONE_SIGHAND
=
0x00000800
CLONE_PID
=
0x00001000
CLONE_PTRACE
=
0x00002000
CLONE_VFORK
=
0x00004000
__defined_schedparam
=
1
# Included from time.h
_TIME_H
=
1
# Included from bits/time.h
_BITS_TIME_H
=
1
CLOCKS_PER_SEC
=
1000000
CLOCK_REALTIME
=
0
CLOCK_PROCESS_CPUTIME_ID
=
2
CLOCK_THREAD_CPUTIME_ID
=
3
TIMER_ABSTIME
=
1
_STRUCT_TIMEVAL
=
1
CLK_TCK
=
CLOCKS_PER_SEC
__clock_t_defined
=
1
__time_t_defined
=
1
__clockid_t_defined
=
1
__timer_t_defined
=
1
__timespec_defined
=
1
def
__isleap
(
year
):
return
\
__BIT_TYPES_DEFINED__
=
1
# Included from endian.h
_ENDIAN_H
=
1
__LITTLE_ENDIAN
=
1234
__BIG_ENDIAN
=
4321
__PDP_ENDIAN
=
3412
# Included from bits/endian.h
__BYTE_ORDER
=
__LITTLE_ENDIAN
__FLOAT_WORD_ORDER
=
__BYTE_ORDER
LITTLE_ENDIAN
=
__LITTLE_ENDIAN
BIG_ENDIAN
=
__BIG_ENDIAN
PDP_ENDIAN
=
__PDP_ENDIAN
BYTE_ORDER
=
__BYTE_ORDER
# Included from sys/select.h
_SYS_SELECT_H
=
1
# Included from bits/select.h
def
__FD_ZERO
(
fdsp
):
return
\
def
__FD_ZERO
(
set
):
return
\
# Included from bits/sigset.h
_SIGSET_H_types
=
1
_SIGSET_H_fns
=
1
def
__sigmask
(
sig
):
return
\
def
__sigemptyset
(
set
):
return
\
def
__sigfillset
(
set
):
return
\
def
__sigisemptyset
(
set
):
return
\
def
__FDELT
(
d
):
return
((
d
)
/
__NFDBITS
)
FD_SETSIZE
=
__FD_SETSIZE
def
FD_ZERO
(
fdsetp
):
return
__FD_ZERO
(
fdsetp
)
# Included from sys/sysmacros.h
_SYS_SYSMACROS_H
=
1
def
major
(
dev
):
return
((
int
)(((
dev
)
>>
8
)
&
0xff
))
def
minor
(
dev
):
return
((
int
)((
dev
)
&
0xff
))
def
major
(
dev
):
return
(((
dev
).
__val
[
1
]
>>
8
)
&
0xff
)
def
minor
(
dev
):
return
((
dev
).
__val
[
1
]
&
0xff
)
def
major
(
dev
):
return
(((
dev
).
__val
[
0
]
>>
8
)
&
0xff
)
def
minor
(
dev
):
return
((
dev
).
__val
[
0
]
&
0xff
)
You can’t perform that action at this time.