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
528374ed
Commit
528374ed
authored
7 years ago
by
Fredrick Brennan
Browse files
Options
Downloads
Patches
Plain Diff
Add FreeBSD `get[pw|gr]ent_r`, forgotten in #934
Sorry, accidentally forgot this when submitting #934..
parent
936e16bc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Cargo.lock
+9
-9
9 additions, 9 deletions
Cargo.lock
Cargo.toml
+1
-1
1 addition, 1 deletion
Cargo.toml
src/unix/bsd/freebsdlike/mod.rs
+9
-0
9 additions, 0 deletions
src/unix/bsd/freebsdlike/mod.rs
with
19 additions
and
10 deletions
Cargo.lock
+
9
−
9
View file @
528374ed
...
...
@@ -10,7 +10,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "cc"
version = "1.0.
4
"
version = "1.0.
5
"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
...
...
@@ -23,7 +23,7 @@ name = "ctest"
version = "0.1.7"
source = "git+https://github.com/alexcrichton/ctest#954f493d482a0873866ba335bee75ce2936e5415"
dependencies = [
"cc 1.0.
4
(registry+https://github.com/rust-lang/crates.io-index)",
"cc 1.0.
5
(registry+https://github.com/rust-lang/crates.io-index)",
"syntex_syntax 0.59.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
...
...
@@ -73,19 +73,19 @@ dependencies = [
[[package]]
name = "libc"
version = "0.2.3
7
"
version = "0.2.3
8
"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "libc"
version = "0.2.3
8
"
version = "0.2.3
9
"
[[package]]
name = "libc-test"
version = "0.1.0"
dependencies = [
"ctest 0.1.7 (git+https://github.com/alexcrichton/ctest)",
"libc 0.2.3
8
",
"libc 0.2.3
9
",
]
[[package]]
...
...
@@ -128,7 +128,7 @@ version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.3
7
(registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.3
8
(registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
]
...
...
@@ -214,7 +214,7 @@ name = "syntex_errors"
version = "0.59.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"libc 0.2.3
7
(registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.3
8
(registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.27 (registry+https://github.com/rust-lang/crates.io-index)",
"syntex_pos 0.59.1 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -298,7 +298,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[metadata]
"checksum bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4efd02e230a02e18f92fc2735f44597385ed02ad8f831e7c1c1156ee5e1ab3a5"
"checksum bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b3c30d3802dfb7281680d6285f2ccdaa8c2d8fee41f93805dba5c4cf50dc23cf"
"checksum cc 1.0.
4
(registry+https://github.com/rust-lang/crates.io-index)" = "
deaf9ec656256bb25b404c51ef50097207b9cbb29c933d31f92cae5a8a0ffee0
"
"checksum cc 1.0.
5
(registry+https://github.com/rust-lang/crates.io-index)" = "
9be26b24e988625409b19736d130f0c7d224f01d06454b5f81d8d23d6c1a618f
"
"checksum cfg-if 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d4c819a1287eb618df47cc647173c5c4c66ba19d888a6e50d605672aed3140de"
"checksum ctest 0.1.7 (git+https://github.com/alexcrichton/ctest)" = "<none>"
"checksum dtoa 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "09c3753c3db574d215cba4ea76018483895d7bff25a31b49ba45db21c48e50ab"
...
...
@@ -307,7 +307,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
"checksum itoa 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8324a32baf01e2ae060e9de58ed0bc2320c9a2833491ee36cd3b4c414de4db8c"
"checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d"
"checksum libc 0.2.3
7
(registry+https://github.com/rust-lang/crates.io-index)" = "
56aebce561378d99a0bb578f8cb15b6114d2a1814a6c7949bbe646d968bb4fa9
"
"checksum libc 0.2.3
8
(registry+https://github.com/rust-lang/crates.io-index)" = "
84a7beecb6b131a81c7d6c7b90cdaa1155b8531b4808bd3bc23bf4b3c33f4d9e
"
"checksum log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b"
"checksum log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "89f010e843f2b1a31dbd316b3b8d443758bc634bed37aabade59c686d644e0a2"
"checksum num-traits 0.1.43 (registry+https://github.com/rust-lang/crates.io-index)" = "92e5113e9fd4cc14ded8e499429f396a20f98c772a47cc8622a736e1ec843c31"
...
...
This diff is collapsed.
Click to expand it.
Cargo.toml
+
1
−
1
View file @
528374ed
[package]
name
=
"libc"
version
=
"0.2.3
8
"
version
=
"0.2.3
9
"
authors
=
[
"The Rust Project Developers"
]
license
=
"MIT/Apache-2.0"
readme
=
"README.md"
...
...
This diff is collapsed.
Click to expand it.
src/unix/bsd/freebsdlike/mod.rs
+
9
−
0
View file @
528374ed
...
...
@@ -1004,6 +1004,15 @@ extern {
groups
:
*
mut
::
gid_t
,
ngroups
:
*
mut
::
c_int
)
->
::
c_int
;
pub
fn
initgroups
(
name
:
*
const
::
c_char
,
basegid
:
::
gid_t
)
->
::
c_int
;
#[cfg_attr(target_os
=
"netbsd"
,
link_name
=
"__getpwent_r50"
)]
pub
fn
getpwent_r
(
pwd
:
*
mut
::
passwd
,
buf
:
*
mut
::
c_char
,
buflen
:
::
size_t
,
result
:
*
mut
*
mut
::
passwd
)
->
::
c_int
;
pub
fn
getgrent_r
(
grp
:
*
mut
::
group
,
buf
:
*
mut
::
c_char
,
buflen
:
::
size_t
,
result
:
*
mut
*
mut
::
group
)
->
::
c_int
;
pub
fn
mq_open
(
name
:
*
const
::
c_char
,
oflag
:
::
c_int
,
...
)
->
::
mqd_t
;
pub
fn
mq_close
(
mqd
:
::
mqd_t
)
->
::
c_int
;
pub
fn
mq_getattr
(
mqd
:
::
mqd_t
,
attr
:
*
mut
::
mq_attr
)
->
::
c_int
;
...
...
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