add pread test
parent
137b80ea74
commit
82b17dbfe3
@ -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…
Reference in New Issue