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
0a3afe18
Commit
0a3afe18
authored
8 years ago
by
Dov Reshef
Browse files
Options
Downloads
Patches
Plain Diff
add missing (common) iff constants
parent
08f5e9dd
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/notbsd/mod.rs
+15
-0
15 additions, 0 deletions
src/unix/notbsd/mod.rs
with
15 additions
and
0 deletions
src/unix/notbsd/mod.rs
+
15
−
0
View file @
0a3afe18
...
...
@@ -417,7 +417,22 @@ pub const MADV_MERGEABLE: ::c_int = 12;
pub
const
MADV_UNMERGEABLE
:
::
c_int
=
13
;
pub
const
MADV_HWPOISON
:
::
c_int
=
100
;
pub
const
IFF_UP
:
::
c_int
=
0x1
;
pub
const
IFF_BROADCAST
:
::
c_int
=
0x2
;
pub
const
IFF_DEBUG
:
::
c_int
=
0x4
;
pub
const
IFF_LOOPBACK
:
::
c_int
=
0x8
;
pub
const
IFF_POINTOPOINT
:
::
c_int
=
0x10
;
pub
const
IFF_NOTRAILERS
:
::
c_int
=
0x20
;
pub
const
IFF_RUNNING
:
::
c_int
=
0x40
;
pub
const
IFF_NOARP
:
::
c_int
=
0x80
;
pub
const
IFF_PROMISC
:
::
c_int
=
0x100
;
pub
const
IFF_ALLMULTI
:
::
c_int
=
0x200
;
pub
const
IFF_MASTER
:
::
c_int
=
0x400
;
pub
const
IFF_SLAVE
:
::
c_int
=
0x800
;
pub
const
IFF_MULTICAST
:
::
c_int
=
0x1000
;
pub
const
IFF_PORTSEL
:
::
c_int
=
0x2000
;
pub
const
IFF_AUTOMEDIA
:
::
c_int
=
0x4000
;
pub
const
IFF_DYNAMIC
:
::
c_int
=
0x8000
;
pub
const
AF_UNIX
:
::
c_int
=
1
;
pub
const
AF_INET
:
::
c_int
=
2
;
...
...
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