summaryrefslogtreecommitdiff
path: root/tests/test_pwrite_static.c
blob: 6815fd4c2c299ae2bc62aa8a5cfaac6decc135b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "common.h"

#include <unistd.h>

int main(int argc, char** argv) {
  char buffer[12] = {0};

  CHK_FAIL_START
  pwrite(0, buffer, 14, 0);
  CHK_FAIL_END

  puts(buffer);
  return ret;
}