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

#include <unistd.h>

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


  CHK_FAIL_START
  write(0, buffer, 14);
  CHK_FAIL_END

  puts(buffer);
  return ret;
}