#include "vxWorks.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#include "taskLib.h"
#include "stdarg.h"
#include "limits.h"
#include "float.h"
#include "errno.h"
#include "application.conf"
Defines | |
#define | LALGN (align == 0) |
#define | RALGN (align != 0) |
#define | LFREE (*(cmin) == ' ') |
#define | RFREE (*(cmax-1) == ' ') |
Functions | |
static int | outpar (char *title, char *fmt, va_list ap) |
static int | inpar (int cstrt) |
static void | par2str (char *tmp, BOOL init) |
static BOOL | str2par (char *tmp, BOOL *fmtwarn) |
static int | editpar (char *param, int *parpos, int parlen, int align) |
int | tReadp (char *title, int cstrt, char *fmt,...) |
Variables | |
int | pcnt = 0 |
int | pcmax = 0 |
struct { | |
union { | |
void * pv | |
char * pc | |
unsigned short * phu | |
unsigned * pu | |
unsigned long * plu | |
short int * phi | |
int * pi | |
long int * pli | |
float * pf | |
double * pd | |
char * ps | |
void ** pp | |
} p | |
BOOL limits | |
union { | |
long imin | |
unsigned long umin | |
double fmin | |
long smin | |
long pmin | |
} min | |
union { | |
long imax | |
unsigned long umax | |
double fmax | |
long smax | |
long pmax | |
} max | |
int row | |
int col | |
int parlen | |
char prtfmt [20] | |
int align | |
} | pardat [MAXPARs] |
long int | longi |
unsigned long | longu |
double | longf |
int | crow |
int | ccol |
BOOL | fmtwarn |
BOOL | lenwarn |
modification history -------------------- 15aug08 kHu DOXYGEN comments added 02jul02 kHu uInit(), uReset() -> uClear 17aug00 kHu Refresh screen + Help (^R, ' ', ^H) 28okt99 kHu x.conf x.h neu geordnet 02sep99 kHu Abschluss Pruefung 24aug99 kHu tReadp(): nach exlib22.c 23aug99 kHu ueberarbeitet 06may99 kHu tReadp(): warning if param changed by requested format 20jan99 kHu include Header Files geaendert 13jan99 kHu Umstellung von peak() auf exlib 12jan99 kHu Mod. in str2par(), case 's' 22dec98 kHu Trennen in daclib und exlib 21dec98 kHu Bug fix: cutting off trailing spaces in string 22oct98 kHu Umstellung auf tReadp() 13oct98 kHu tReadp test 01sep98 kHu tMenu mit Ueberlaenge 27aug96 kHu Menu und Parameter I/O neu 25mar96 kHu Ultrix, VxWorks Portierung (C) 04mar86 kHu PDP11 Version (F77, Macro-11)
#define LALGN (align == 0) |
#define LFREE (*(cmin) == ' ') |
#define RALGN (align != 0) |
#define RFREE (*(cmax-1) == ' ') |
static int editpar | ( | char * | param, | |
int * | parpos, | |||
int | parlen, | |||
int | align | |||
) | [static] |
static int inpar | ( | int | cstrt | ) | [static] |
static int outpar | ( | char * | title, | |
char * | fmt, | |||
va_list | ap | |||
) | [static] |
static void par2str | ( | char * | tmp, | |
BOOL | init | |||
) | [static] |
int tReadp | ( | char * | title, | |
int | cstrt, | |||
char * | fmt, | |||
... | ||||
) |
int align |
int ccol |
int col |
int crow |
double fmax |
double fmin |
long imax |
long imin |
double longf |
long int longi |
unsigned long longu |
union { ... } max |
union { ... } min |
union { ... } p |
struct { ... } pardat[MAXPARs] |
int parlen |
char* pc |
int pcmax = 0 |
int pcnt = 0 |
double* pd |
float* pf |
short int* phi |
unsigned short* phu |
int* pi |
long int* pli |
unsigned long* plu |
long pmax |
long pmin |
void** pp |
char prtfmt[20] |
char* ps |
unsigned* pu |
void* pv |
int row |
long smax |
long smin |
unsigned long umax |
unsigned long umin |