File: test_io.c

package info (click to toggle)
vile 9.5-i1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 8,248 kB
  • ctags: 8,023
  • sloc: ansic: 86,640; lex: 8,291; sh: 3,073; perl: 2,926; cpp: 2,891; makefile: 779; awk: 276
file content (19 lines) | stat: -rw-r--r-- 395 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Stub for testing linkage requirements of I/O drivers.
 *
 * $Header: /usr/build/vile/vile/RCS/test_io.c,v 1.2 2006/01/10 23:28:47 tom Exp $
 */

#include <estruct.h>

#define realdef			/* Make global definitions not external */
#include	"edef.h"	/* global declarations */

int
main(int argc, char **argv)
{

    TERM *test = &term;

    return (test != 0) ? EXIT_SUCCESS : EXIT_FAILURE;
}