title: How to redirect TO stdout?
body: <p>I have a UNIX application written in ansi C that writes data directly to a file. This file is specified by one of the argument parameters.  </p>
  
  <p>For testing purposes, I can use /dev/null for the filename, which effectively redirects the output to nothing.  </p>
  
  <p>I would like to be able to redirect the output to stdout by a similar method. Is this possible? If so, how? I've tried the following with no luck:  </p>
  
  <blockquote>
    <p>a.out -f /dev/ttys000</p>
  </blockquote>
  
  <p>(where /dev/ttys000 was the tty specified by a 'w' listing)</p>