File: obuf_stderr.c

package info (click to toggle)
bglibs 2.04%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,468 kB
  • sloc: ansic: 15,821; perl: 674; sh: 63; makefile: 29
file content (8 lines) | stat: -rw-r--r-- 197 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
#include <unistd.h>
#include "obuf.h"

static char buffer[4096];

/** Output buffer for \c stderr */
obuf errbuf = { { 2, buffer, 4096, 0, 0, 0, 0, IOBUF_NEEDSCLOSE, 0 },
		0, 0, (obuf_fn)write };