File: freedos.h

package info (click to toggle)
dosemu-freedos 1%3A0.0.b9r5a%2Betch.1-0etch1
  • links: PTS
  • area: contrib
  • in suites: etch
  • size: 19,744 kB
  • ctags: 23,279
  • sloc: ansic: 143,864; asm: 20,397; makefile: 3,868; perl: 1,106; yacc: 690; sh: 553; pascal: 297; xml: 150; cpp: 67
file content (36 lines) | stat: -rw-r--r-- 983 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include <stdio.h>

/**************************************************************************
 * This include file defines several string limits and string constants.
 * maintained by: James Hall
 * modified: 12/26/94
 */

/* the maximum string length */
#define MAX_STR 256

/* various formats for printing the usage */
#define FMT_PROG     "       %s: %s\n"
#define FMT_USAGE    "          usage: %s %s\n"
#define FMT_OPT      "           %s - %s\n"

/* some macros for printing the usage */
#define printp(A,B) printf(FMT_PROG, A, B)
#define printu(A,B) printf(FMT_USAGE, A, B)
#define printo(A,B) printf(FMT_OPT, A, B)

/* various prompts for pagef */
#define PAGEF_PR     "(more)"
#define PAGEF_END    "(end)"

/* newline characters for different platforms */
#define UNIX_NL      '\012'
#define MAC_NL       '\013'
#define DOS_NL       '\n'

/* values for true and false */
#define TRUE 1
#define FALSE 0

/* the version of the Free-DOS release */
#define VER_REL      "1.0"