add pread test

master
Felix von Leitner 7 years ago
parent 8853a842f1
commit 5d08980293
  1. 7
      trypread.c

@ -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…
Cancel
Save