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
f5885eec
Commit
f5885eec
authored
9 years ago
by
fpgaminer
Browse files
Options
Downloads
Patches
Plain Diff
Add utimensat
parent
e19309c8
No related branches found
Branches containing commit
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 @
f5885eec
...
...
@@ -548,6 +548,9 @@ pub const POSIX_FADV_WILLNEED: ::c_int = 3;
pub
const
POSIX_FADV_DONTNEED
:
::
c_int
=
4
;
pub
const
POSIX_FADV_NOREUSE
:
::
c_int
=
5
;
pub
const
AT_FDCWD
:
::
c_int
=
-
100
;
pub
const
AT_SYMLINK_NOFOLLOW
:
::
c_int
=
0x100
;
f!
{
pub
fn
FD_CLR
(
fd
:
::
c_int
,
set
:
*
mut
fd_set
)
->
()
{
let
fd
=
fd
as
usize
;
...
...
@@ -664,6 +667,8 @@ extern {
pub
fn
posix_fadvise
(
fd
:
::
c_int
,
offset
:
::
off_t
,
len
:
::
off_t
,
advise
:
::
c_int
)
->
::
c_int
;
pub
fn
futimens
(
fd
:
::
c_int
,
times
:
*
const
::
timespec
)
->
::
c_int
;
pub
fn
utimensat
(
dirfd
:
::
c_int
,
path
:
*
const
::
c_char
,
times
:
*
const
::
timespec
,
flag
:
::
c_int
)
->
::
c_int
;
}
cfg_if!
{
...
...
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