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
cdb99e35
Commit
cdb99e35
authored
8 years ago
by
Raphael Cohn
Browse files
Options
Downloads
Patches
Plain Diff
Definition of _SC_HOST_NAME_MAX for OpenBSD and FreeBSD
parent
8adb9c54
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/unix/bsd/openbsdlike/netbsd.rs
+1
-0
1 addition, 0 deletions
src/unix/bsd/openbsdlike/netbsd.rs
src/unix/bsd/openbsdlike/openbsd.rs
+1
-0
1 addition, 0 deletions
src/unix/bsd/openbsdlike/openbsd.rs
with
2 additions
and
0 deletions
src/unix/bsd/openbsdlike/netbsd.rs
+
1
−
0
View file @
cdb99e35
...
...
@@ -310,6 +310,7 @@ pub const _SC_SEMAPHORES : ::c_int = 42;
pub
const
_SC_SHARED_MEMORY_OBJECTS
:
::
c_int
=
87
;
pub
const
_SC_SYNCHRONIZED_IO
:
::
c_int
=
31
;
pub
const
_SC_TIMERS
:
::
c_int
=
44
;
pub
const
_SC_HOST_NAME_MAX
:
::
c_int
=
69
;
pub
const
FD_SETSIZE
:
usize
=
0x100
;
...
...
This diff is collapsed.
Click to expand it.
src/unix/bsd/openbsdlike/openbsd.rs
+
1
−
0
View file @
cdb99e35
...
...
@@ -231,6 +231,7 @@ pub const _SC_REALTIME_SIGNALS : ::c_int = 64;
pub
const
_SC_RTSIG_MAX
:
::
c_int
=
66
;
pub
const
_SC_SIGQUEUE_MAX
:
::
c_int
=
70
;
pub
const
_SC_TIMER_MAX
:
::
c_int
=
93
;
pub
const
_SC_HOST_NAME_MAX
:
::
c_int
=
33
;
pub
const
FD_SETSIZE
:
usize
=
1024
;
...
...
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