Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

sys/print.h File Reference

Formatted printing definitions. More...


Format flags

Number printing formats.

These flags are used as number printing formats. Several flags may be combined using the binary OR operator.

See also:
NutPrintInteger


#define FMTFLG_ZERO
 Set, if zero padding required.

#define FMTFLG_SIGNED
 Set, if signed value.

#define FMTFLG_PLUS
 Set to force sign.

#define FMTFLG_MINUS
 Set to force left justification.

#define FMTFLG_CAPITAL
 Set for capital letter digits.


Functions

int NutPrintBinary (NUTDEVICE *dev, CONST char *data, int len)
 Write a buffer to a specified device.

int NutPrintBinary_P (NUTDEVICE *dev, PGM_P data, int len)
 Write a buffer in program space to a specified device.

int NutPrintString (NUTDEVICE *dev, CONST char *str)
 Print a string on a specified device.

int NutPrintString_P (NUTDEVICE *dev, PGM_P str)
 Print a string in program space on a specified device.

int NutPrintInteger (NUTDEVICE *dev, u_long val, u_char radix, u_char width, u_char flags)
 Print a numeric value on a specified device.

int NutPrintFormat (NUTDEVICE *dev, CONST char *fmt,...)
 Print parameters using a format string.

int NutPrintFlush (NUTDEVICE *dev)


Detailed Description

Formatted printing definitions.


© 2000-2003 by egnite Software GmbH - visit http://www.ethernut.de/