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

#include <sys/socket.h>

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

  CHK_FAIL_START
  sendto(0, buffer, 14, 0, NULL, 0);
  CHK_FAIL_END

  puts(buffer);
  return ret;
}