fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
Functions
fmt.c File Reference

formating differnt inputs format for output printing More...

#include "fmt.h"
Include dependency graph for fmt.c:

Go to the source code of this file.

Functions

unsigned int fmt_str (char *s, const char *t)
 
unsigned int fmt_strn (char *s, const char *t, unsigned int n)
 
unsigned int fmt_uint (char *s, unsigned int u)
 
unsigned int fmt_uint0 (char *s, unsigned int u, unsigned int n)
 
unsigned int fmt_ulong (char *s, unsigned long u)
 
unsigned int fmt_xlong (char *s, unsigned long u)
 
char tohex (char num)
 
int fromhex (unsigned char c)
 

Detailed Description

formating differnt inputs format for output printing

Authors
djb, feh qmail

Definition in file fmt.c.

Function Documentation

◆ fmt_str()

unsigned int fmt_str ( char *  s,
const char *  t 
)

Definition at line 10 of file fmt.c.

Here is the caller graph for this function:

◆ fmt_strn()

unsigned int fmt_strn ( char *  s,
const char *  t,
unsigned int  n 
)

Definition at line 20 of file fmt.c.

◆ fmt_uint()

unsigned int fmt_uint ( char *  s,
unsigned int  u 
)

Definition at line 30 of file fmt.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fmt_uint0()

unsigned int fmt_uint0 ( char *  s,
unsigned int  u,
unsigned int  n 
)

Definition at line 35 of file fmt.c.

Here is the call graph for this function:

◆ fmt_ulong()

unsigned int fmt_ulong ( char *  s,
unsigned long  u 
)

Definition at line 44 of file fmt.c.

Here is the caller graph for this function:

◆ fmt_xlong()

unsigned int fmt_xlong ( char *  s,
unsigned long  u 
)

Definition at line 57 of file fmt.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fromhex()

int fromhex ( unsigned char  c)

Definition at line 79 of file fmt.c.

Here is the caller graph for this function:

◆ tohex()

char tohex ( char  num)

Definition at line 70 of file fmt.c.

Here is the caller graph for this function: