SHARE
TWEET

Untitled

a guest Sep 15th, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (args.pos_size == 0) {
  2.         in = stdin;
  3.     } else {
  4.         in = fopen(args.pos[0], "r");
  5.     }
  6.  
  7.     if (in) {
  8.         char input[BUFFER_SIZE];
  9.         size_t nread = fread(input, sizeof *input, BUFFER_SIZE, in);
  10.         input[nread] = '\0';
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top