Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
relibc
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Limkilde Svendsen
relibc
Commits
b8a5b9b5
Commit
b8a5b9b5
authored
7 years ago
by
Paul Sajna
Browse files
Options
Downloads
Patches
Plain Diff
aio.h skeleton
parent
7f29a712
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
aio/lib.rs
+48
-0
48 additions, 0 deletions
aio/lib.rs
with
48 additions
and
0 deletions
aio/lib.rs
0 → 100644
+
48
−
0
View file @
b8a5b9b5
pub
struct
aiocb
{
pub
aio_fildes
:
libc
::
c_int
,
pub
aio_lio_opcode
:
libc
::
c_int
,
pub
aio_reqprio
:
libc
::
c_int
,
pub
aio_buf
:
*
mut
libc
::
c_void
,
pub
aio_nbytes
:
usize
,
pub
aio_sigevent
:
sigevent
,
}
pub
extern
"C"
fn
aio_read
(
__aiocbp
:
*
mut
aiocb
)
->
libc
::
c_int
{
unimplemented!
();
}
pub
extern
"C"
fn
aio_write
(
__aiocbp
:
*
mut
aiocb
)
->
libc
::
c_int
{
unimplemented!
();
}
pub
extern
"C"
fn
lio_listio
(
__mode
:
libc
::
c_int
,
__list
:
*
const
*
const
aiocb
,
__nent
:
libc
::
c_int
,
__sig
:
*
mut
sigevent
)
->
libc
::
c_int
{
unimplemented!
();
}
pub
extern
"C"
fn
aio_error
(
__aiocbp
:
*
const
aiocb
)
->
libc
::
c_int
{
unimplemented!
();
}
pub
extern
"C"
fn
aio_return
(
__aiocbp
:
*
mut
aiocb
)
->
__ssize_t
{
unimplemented!
();
}
pub
extern
"C"
fn
aio_cancel
(
__fildes
:
libc
::
c_int
,
__aiocbp
:
*
mut
aiocb
)
->
libc
::
c_int
{
unimplemented!
();
}
pub
extern
"C"
fn
aio_suspend
(
__list
:
*
const
*
const
aiocb
,
__nent
:
libc
::
c_int
,
__timeout
:
*
const
timespec
)
->
libc
::
c_int
{
unimplemented!
();
}
pub
extern
"C"
fn
aio_fsync
(
__operation
:
libc
::
c_int
,
__aiocbp
:
*
mut
aiocb
)
->
libc
::
c_int
{
unimplemented!
();
}
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