File nut/crt/putf.c


Included Files


Preprocessor definitions

#define BUF 24

#define DEFPREC 6

#define PADSIZE 16

#define ALT 0x01

#define LADJUST 0x04

#define LONGINT 0x08

#define ZEROPAD 0x10

#define LONGLONG 0x20

#define UNSIGNED 0x40

#define ULTYPE uint32_t

#define LLTYPE long


Local Variables

blanks
static const char blanks[16]
Used in: _putf()  

zeroes
static const char zeroes[16]

Used in: _putf()  

HEXDIGIT
static const char HEXDIGIT[32]

Used in: _putf()  

Global Function _putf()

int _putf ( int _putb(int,const void*,size_t), int _putb_P(int,const char*,size_t), int fd, const char* fmt, va_list ap )
Prototyped in: nut/crt/nut_io.h
Calls: _putpad() nut/crt/putf.c
  free() nut/crt/malloc.c
  malloc() nut/crt/malloc.c
  memchr() nut/c/string/memchr.c
  strlen() nut/c/string/strlen.c
  va_args_ulval() nut/crt/putf.c
  __builtin_va_arg(), strcpy_P(), strlen_P()
References Variables: HEXDIGIT nut/crt/putf.c
  blanks nut/crt/putf.c
  zeroes nut/crt/putf.c

Global Function va_args_ulval()

uint32_t va_args_ulval ( int flags, va_list* ap )
Calls: __builtin_va_arg()
Called by: _putf() nut/crt/putf.c

Local Function _putpad()

static void _putpad ( int _putb(int fd,const char*,size_t), int fd, const char* padch, int count )
Called by: _putf() nut/crt/putf.c