Browse Source

add pread test

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

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