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
1033ce70
Commit
1033ce70
authored
8 years ago
by
bors
Browse files
Options
Downloads
Plain Diff
Auto merge of #558 - Mic92:truncate64, r=alexcrichton
add truncate64/readdir64/openat64 on linux
parents
1d501bc2
677b08e2
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
+5
-0
5 additions, 0 deletions
src/unix/notbsd/mod.rs
with
5 additions
and
0 deletions
src/unix/notbsd/mod.rs
+
5
−
0
View file @
1033ce70
...
...
@@ -921,14 +921,19 @@ extern {
offset
:
off64_t
)
->
*
mut
::
c_void
;
pub
fn
open64
(
path
:
*
const
c_char
,
oflag
:
::
c_int
,
...
)
->
::
c_int
;
pub
fn
openat64
(
fd
:
::
c_int
,
path
:
*
const
c_char
,
oflag
:
::
c_int
,
...
)
->
::
c_int
;
pub
fn
pread64
(
fd
:
::
c_int
,
buf
:
*
mut
::
c_void
,
count
:
::
size_t
,
offset
:
off64_t
)
->
::
ssize_t
;
pub
fn
pwrite64
(
fd
:
::
c_int
,
buf
:
*
const
::
c_void
,
count
:
::
size_t
,
offset
:
off64_t
)
->
::
ssize_t
;
pub
fn
readdir64
(
dirp
:
*
mut
::
DIR
)
->
*
mut
::
dirent64
;
pub
fn
readdir64_r
(
dirp
:
*
mut
::
DIR
,
entry
:
*
mut
::
dirent64
,
result
:
*
mut
*
mut
::
dirent64
)
->
::
c_int
;
pub
fn
setrlimit64
(
resource
:
::
c_int
,
rlim
:
*
const
rlimit64
)
->
::
c_int
;
pub
fn
stat64
(
path
:
*
const
c_char
,
buf
:
*
mut
stat64
)
->
::
c_int
;
pub
fn
truncate64
(
path
:
*
const
c_char
,
length
:
off64_t
)
->
::
c_int
;
pub
fn
eventfd
(
init
:
::
c_uint
,
flags
:
::
c_int
)
->
::
c_int
;
pub
fn
sysinfo
(
info
:
*
mut
::
sysinfo
)
->
::
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