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
a38aa537
Unverified
Commit
a38aa537
authored
5 years ago
by
Baoshan
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #19 from rust-lang/master
sync with rust-lang/libc master
parents
fbf7d5e9
ff63cb51
Loading
Loading
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/unix/bsd/freebsdlike/mod.rs
+1
-0
1 addition, 0 deletions
src/unix/bsd/freebsdlike/mod.rs
src/unix/bsd/netbsdlike/netbsd/mod.rs
+3
-0
3 additions, 0 deletions
src/unix/bsd/netbsdlike/netbsd/mod.rs
with
4 additions
and
0 deletions
src/unix/bsd/freebsdlike/mod.rs
+
1
−
0
View file @
a38aa537
...
...
@@ -1323,6 +1323,7 @@ extern "C" {
attr
:
*
mut
pthread_condattr_t
,
pshared
:
::
c_int
,
)
->
::
c_int
;
pub
fn
pthread_main_np
()
->
::
c_int
;
pub
fn
pthread_mutex_timedlock
(
lock
:
*
mut
pthread_mutex_t
,
abstime
:
*
const
::
timespec
,
...
...
This diff is collapsed.
Click to expand it.
src/unix/bsd/netbsdlike/netbsd/mod.rs
+
3
−
0
View file @
a38aa537
...
...
@@ -8,6 +8,7 @@ pub type idtype_t = ::c_int;
pub
type
mqd_t
=
::
c_int
;
type
__pthread_spin_t
=
__cpu_simple_lock_nv_t
;
pub
type
vm_size_t
=
::
uintptr_t
;
pub
type
lwpid_t
=
::
c_uint
;
impl
siginfo_t
{
pub
unsafe
fn
si_value
(
&
self
)
->
::
sigval
{
...
...
@@ -1714,6 +1715,8 @@ extern "C" {
flags
:
::
c_int
,
timeout
:
*
mut
::
timespec
,
)
->
::
c_int
;
pub
fn
_lwp_self
()
->
lwpid_t
;
}
#[link(name
=
"util"
)]
...
...
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