home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 21 / CD_ASCQ_21_040595.iso / dos / prg / c / freedos3 / source / jh_utils / freedos.h < prev    next >
C/C++ Source or Header  |  1995-01-07  |  983b  |  37 lines

  1. #include <stdio.h>
  2.  
  3. /**************************************************************************
  4.  * This include file defines several string limits and string constants.
  5.  * maintained by: James Hall
  6.  * modified: 12/26/94
  7.  */
  8.  
  9. /* the maximum string length */
  10. #define MAX_STR 256
  11.  
  12. /* various formats for printing the usage */
  13. #define FMT_PROG     "       %s: %s\n"
  14. #define FMT_USAGE    "          usage: %s %s\n"
  15. #define FMT_OPT      "           %s - %s\n"
  16.  
  17. /* some macros for printing the usage */
  18. #define printp(A,B) printf(FMT_PROG, A, B)
  19. #define printu(A,B) printf(FMT_USAGE, A, B)
  20. #define printo(A,B) printf(FMT_OPT, A, B)
  21.  
  22. /* various prompts for pagef */
  23. #define PAGEF_PR     "(more)"
  24. #define PAGEF_END    "(end)"
  25.  
  26. /* newline characters for different platforms */
  27. #define UNIX_NL      '\012'
  28. #define MAC_NL       '\013'
  29. #define DOS_NL       '\n'
  30.  
  31. /* values for true and false */
  32. #define TRUE 1
  33. #define FALSE 0
  34.  
  35. /* the version of the Free-DOS release */
  36. #define VER_REL      "1.0"
  37.