Main Page | Modules | Data Structures | File List | Data Fields | Globals

bprintf.h

Go to the documentation of this file.
00001 /* Needs beeos.h also to set HOSTED_BUILD, <stdarg.h> */
00002 #ifndef HOSTED_BUILD
00003     void putchar(char c);
00004 #endif
00005 
00006 #ifndef IN_BPRINTF
00007     extern bool lk_bputs;
00008     extern bool lk_putchar;
00009 #endif
00010 /*@-exportfcn@*/ /*@-protoparamname@*/
00011 /*@external@*/
00012     void bputs(char /*@null@*/ *pSrc)
00013     /*@uses pSrc@*/
00014     /*@globals internalState@*/
00015     /*@modifies internalState@*/;
00016 /*@external@*/
00017     void int2stringpadded(char /*@null@*/ **ppDst, sshort number, uchar intbase, 
00018         uchar padsize, bool numgroup, bool plussign)
00019     /*@modifies *ppDst@*/;
00020 /*@external@*/  
00021     __inline__ char digit2char(char num) __attribute__ ((pure))
00022     /*@*/;
00023 /*@external@*/  
00024     void bvsnprintf(char /*@null@*/*pDst, ushort maxn, const char *pSrc, va_list ap)
00025     /*@modifies pDst, *pDst@, ap*/
00026     /*@uses pSrc@*/;
00027 /*@external@*/  
00028     void bsnprintf(char /*@null@*/ *pDst, ushort maxn, const char *pSrc, ...)
00029     /*@modifies pDst, *pDst@*/
00030     /*@uses pSrc@*/;
00031 /*@external@*/  
00032     void bprintf(ushort extra, const char *pString, ...)
00033     /*@uses pString@*/
00034     /*@printflike@*/;
00035 /*@=exportfcn@*/ /*@=protoparamname@*/
00036 
00037 /* BEGIN BPRINTF.C CONFIG */
00038 /*#define INT2STRING*/      /* ... for simple int printing */
00039 #define INT2STRINGPADDED    /* ... for zero-padding, +signs, thousand grouping */
00040 /*#define BPRINTF_DEBUG*/
00041 /* END BPRINTF.C CONFIG */
00042 
00043 /* BEGIN CONFIG SANITY CHECK */
00044 #if defined INT2STRING && defined INT2STRINGPADDED
00045 #  error Mutually exclusive INT2STRING and INT2STRINGPADDED both defined
00046 #endif
00047 /* END CONFIG SANITY CHECK */

Generated on Sat Apr 10 17:08:02 2004 for BeeOS by doxygen 1.3.6-20040222