add pread test
This commit is contained in:
parent
137b80ea74
commit
82b17dbfe3
7
trypread.c
Normal file
7
trypread.c
Normal 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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user