Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
felixmoebius
libc
Commits
7b2ecc65
Commit
7b2ecc65
authored
7 years ago
by
Jessica Hamilton
Browse files
Options
Downloads
Patches
Plain Diff
haiku: add missing sysconf constants.
parent
4729bc10
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/unix/haiku/mod.rs
+39
-5
39 additions, 5 deletions
src/unix/haiku/mod.rs
with
39 additions
and
5 deletions
src/unix/haiku/mod.rs
+
39
−
5
View file @
7b2ecc65
...
...
@@ -614,17 +614,51 @@ pub const _PC_NAME_MAX: ::c_int = 4;
pub
const
FIONBIO
:
::
c_int
=
0xbe000000
;
pub
const
_SC_IOV_MAX
:
::
c_int
=
32
;
pub
const
_SC_ARG_MAX
:
::
c_int
=
15
;
pub
const
_SC_CHILD_MAX
:
::
c_int
=
16
;
pub
const
_SC_CLK_TCK
:
::
c_int
=
17
;
pub
const
_SC_JOB_CONTROL
:
::
c_int
=
18
;
pub
const
_SC_NGROUPS_MAX
:
::
c_int
=
19
;
pub
const
_SC_OPEN_MAX
:
::
c_int
=
20
;
pub
const
_SC_SAVED_IDS
:
::
c_int
=
21
;
pub
const
_SC_STREAM_MAX
:
::
c_int
=
22
;
pub
const
_SC_TZNAME_MAX
:
::
c_int
=
23
;
pub
const
_SC_VERSION
:
::
c_int
=
24
;
pub
const
_SC_GETGR_R_SIZE_MAX
:
::
c_int
=
25
;
pub
const
_SC_GETPW_R_SIZE_MAX
:
::
c_int
=
26
;
pub
const
_SC_PAGESIZE
:
::
c_int
=
27
;
pub
const
_SC_PAGE_SIZE
:
::
c_int
=
27
;
pub
const
_SC_SEM_NSEMS_MAX
:
::
c_int
=
28
;
pub
const
_SC_SEM_VALUE_MAX
:
::
c_int
=
29
;
pub
const
_SC_SEMAPHORES
:
::
c_int
=
30
;
pub
const
_SC_THREADS
:
::
c_int
=
31
;
pub
const
_SC_IOV_MAX
:
::
c_int
=
32
;
pub
const
_SC_UIO_MAXIOV
:
::
c_int
=
32
;
pub
const
_SC_NPROCESSORS_CONF
:
::
c_int
=
34
;
pub
const
_SC_NPROCESSORS_ONLN
:
::
c_int
=
35
;
pub
const
_SC_ATEXIT_MAX
:
::
c_int
=
37
;
pub
const
_SC_PASS_MAX
:
::
c_int
=
39
;
pub
const
_SC_PHYS_PAGES
:
::
c_int
=
40
;
pub
const
_SC_AVPHYS_PAGES
:
::
c_int
=
41
;
pub
const
_SC_PIPE
:
::
c_int
=
42
;
pub
const
_SC_SELECT
:
::
c_int
=
43
;
pub
const
_SC_POLL
:
::
c_int
=
44
;
pub
const
_SC_MAPPED_FILES
:
::
c_int
=
45
;
pub
const
_SC_THREAD_PROCESS_SHARED
:
::
c_int
=
46
;
pub
const
_SC_THREAD_STACK_MIN
:
::
c_int
=
47
;
pub
const
_SC_THREAD_ATTR_STACKADDR
:
::
c_int
=
48
;
pub
const
_SC_THREAD_ATTR_STACKSIZE
:
::
c_int
=
49
;
pub
const
_SC_THREAD_PRIORITY_SCHEDULING
:
::
c_int
=
50
;
pub
const
_SC_THREAD_PROCESS_SHARED
:
::
c_int
=
46
;
pub
const
_SC_THREAD_STACK_MIN
:
::
c_int
=
47
;
pub
const
_SC_THREADS
:
::
c_int
=
31
;
pub
const
_SC_ATEXIT_MAX
:
::
c_int
=
37
;
pub
const
_SC_REALTIME_SIGNALS
:
::
c_int
=
51
;
pub
const
_SC_MEMORY_PROTECTION
:
::
c_int
=
52
;
pub
const
_SC_SIGQUEUE_MAX
:
::
c_int
=
53
;
pub
const
_SC_RTSIG_MAX
:
::
c_int
=
54
;
pub
const
_SC_MONOTONIC_CLOCK
:
::
c_int
=
55
;
pub
const
_SC_DELAYTIMER_MAX
:
::
c_int
=
56
;
pub
const
_SC_TIMER_MAX
:
::
c_int
=
57
;
pub
const
_SC_TIMERS
:
::
c_int
=
58
;
pub
const
_SC_CPUTIME
:
::
c_int
=
59
;
pub
const
_SC_THREAD_CPUTIME
:
::
c_int
=
60
;
pub
const
PTHREAD_STACK_MIN
:
::
size_t
=
8192
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment