Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hard-params(cmds) — Sprite KS.390

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PROGNAME  —  User Commands

NAME

hard-params − Describe the hardware being run on

SYNOPSIS

hard-params [options]

OPTIONS

−lPrint a series of #define’s for the ANSI standard limits.h include file, excluding MB_MAX_CHAR. 

−fPrint a series of #define’s for the ANSI standard float.h include file. 

−vPrint a verbose prose description of the machine.  When combined with either of the other two options, the prose is embedded in C comments. 
 

DESCRIPTION

hard-params determines characteristics about the machine it is run on, such as the number of bytes in an int, the byte order, and the floating point format.  It displays them either as English text or as C code. 

hard-params also checks for bugs in printf and scanf, and it checks for compiler bugs like botched casts. 
 

KEYWORDS

characteristics, hardware, header, ANSI, tests

Sprite version 1.0  —  August 09, 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026