All pastes #753230 Raw Edit

Stuff

public text v1 · immutable
#753230 ·published 2007-10-29 01:35 UTC
rendered paste body
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int foo(char *arg)
{
  char buf[256];
  snprintf(buf, sizeof(buf), arg);
  return 0;
}

int main(int argc, char *argv[])
{
  if (argc != 2)
    {
      fprintf(stderr, "target6: argc != 2\n");
      exit(EXIT_FAILURE);
    }
  foo(argv[1]);

  return 0;
}