This website works better with JavaScript.
Home
Help
Register
Sign In
mirrors
/
libowfat
mirror of
/home/gitosis/repositories/libowfat.git
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
add pread test
master
Felix von Leitner
4 years ago
parent
8853a842f1
commit
5d08980293
1 changed files
with
7 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-0
trypread.c
+ 7
- 0
trypread.c
View File
@ -0,0 +1,7 @@
#
include
<unistd.h>
int
main
(
)
{
char
buf
[
100
]
;
if
(
pread
(
0
,
buf
,
sizeof
(
buf
)
,
0
)
=
=
-
1
)
return
111
;
return
0
;
}
Write
Preview
Loading…
Cancel
Save