File: hsredirect.c

package info (click to toggle)
haskell-system-posix-redirect 1.1.0.1-5
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 72 kB
  • sloc: haskell: 61; ansic: 10; makefile: 5
file content (14 lines) | stat: -rw-r--r-- 232 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>

/**
 * Helper functions for stdout and stderr, because I can't evaluate them
 * at compile/link time.
 */

FILE *PosixRedirect_stdout() {
    return stdout;
}

FILE *PosixRedirect_stderr() {
    return stderr;
}