add pread test
This commit is contained in:
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;
|
||||
}
|
||||
Reference in New Issue
Block a user