\hypertarget{group__fmt}{
\section{fmt: Formatting Functions}
\label{group__fmt}\index{fmt: Formatting Functions@{fmt: Formatting Functions}}
}
\subsection*{Miscelaneous formatting}
\begin{CompactItemize}
\item 
unsigned \hyperlink{group__fmt_g8cf2587d24ebfb689584ac2b720848f7}{fmt\_\-char} (char $\ast$buffer, int ch, unsigned width, char pad)
\item 
\hypertarget{group__fmt_gaf1fd5e741f2c3a6be876911833255b5}{
unsigned \textbf{fmt\_\-mem} (char $\ast$buffer, const char $\ast$s, unsigned length, unsigned width, char pad)}
\label{group__fmt_gaf1fd5e741f2c3a6be876911833255b5}

\item 
\hypertarget{group__fmt_g1c7ea5ce60e156ae7af948f655e696d8}{
unsigned \textbf{fmt\_\-chars} (char $\ast$buffer, const char $\ast$s, unsigned width, char pad)}
\label{group__fmt_g1c7ea5ce60e156ae7af948f655e696d8}

\item 
\hypertarget{group__fmt_gc19fba32fbe6d25affc39a39732bfbfa}{
unsigned \textbf{fmt\_\-str} (char $\ast$buffer, const struct \hyperlink{structstr}{str} $\ast$s, unsigned width, char pad)}
\label{group__fmt_gc19fba32fbe6d25affc39a39732bfbfa}

\end{CompactItemize}
\subsection*{Multiple item formatting}
\begin{CompactItemize}
\item 
unsigned \hyperlink{group__fmt_g4aa700e3901cdb492952b0bce2bc5ef7}{fmt\_\-multi} (char $\ast$buffer, const char $\ast$format,...)
\item 
unsigned \hyperlink{group__fmt_gfaa2bfdb6564f3673ecc146ae211c34c}{fmt\_\-multiv} (char $\ast$buffer, const char $\ast$format, va\_\-list ap)
\end{CompactItemize}
\subsection*{Signed integer conversions}
\begin{CompactItemize}
\item 
unsigned \hyperlink{group__fmt_g03ef4589754b709c3aef3e3143275f52}{fmt\_\-snumw} (char $\ast$buffer, long num, unsigned width, char pad, unsigned base, const char $\ast$digits)
\item 
unsigned \hyperlink{group__fmt_g9952c09d2faa2199c44f82e0107efb11}{fmt\_\-sdec} (char $\ast$buffer, long num)
\item 
unsigned \hyperlink{group__fmt_gd6ce18c84381ca01d1881677e04e7319}{fmt\_\-sdecw} (char $\ast$buffer, long num, unsigned width, char pad)
\end{CompactItemize}
\subsection*{Signed long long integer conversions}
\begin{CompactItemize}
\item 
unsigned \hyperlink{group__fmt_g846c37d2986b307ac3247b4a08a2c0e9}{fmt\_\-sllnumw} (char $\ast$buffer, long long num, unsigned width, char pad, unsigned base, const char $\ast$digits)
\item 
unsigned \hyperlink{group__fmt_gea966b25aa32c5ba418ce06a69ceb7d4}{fmt\_\-slldec} (char $\ast$buffer, long long num)
\item 
unsigned \hyperlink{group__fmt_g9e912f164c9cb793ef6dc480086dfbf6}{fmt\_\-slldecw} (char $\ast$buffer, long long num, unsigned width, char pad)
\end{CompactItemize}
\subsection*{Unsigned integer conversions}
\begin{CompactItemize}
\item 
unsigned \hyperlink{group__fmt_g21aed97705f1db6ab7cd56e95ccc2957}{fmt\_\-unumw} (char $\ast$buffer, unsigned long num, unsigned width, char pad, unsigned base, const char $\ast$digits)
\item 
unsigned \hyperlink{group__fmt_gb6f4bdfdc75deed202cc4403f972dca2}{fmt\_\-udec} (char $\ast$buffer, unsigned long num)
\item 
unsigned \hyperlink{group__fmt_gdb632bcf182ecb82ba69de83370bdb5d}{fmt\_\-udecw} (char $\ast$buffer, unsigned long num, unsigned width, char pad)
\item 
unsigned \hyperlink{group__fmt_g7208c091848b3193265cfb8a2b2335f2}{fmt\_\-uhex} (char $\ast$buffer, unsigned long num)
\item 
unsigned \hyperlink{group__fmt_g5c9c916ec100fd2c45f4d99455609158}{fmt\_\-uhexw} (char $\ast$buffer, unsigned long num, unsigned width, char pad)
\item 
unsigned \hyperlink{group__fmt_gcd4bc1820b0553b90a4a51bad560e031}{fmt\_\-u\-Hex} (char $\ast$buffer, unsigned long num)
\item 
unsigned \hyperlink{group__fmt_g30218a8ef109106e929070089568b939}{fmt\_\-u\-Hexw} (char $\ast$buffer, unsigned long num, unsigned width, char pad)
\end{CompactItemize}
\subsection*{Unsigned long long integer conversions}
\begin{CompactItemize}
\item 
unsigned \hyperlink{group__fmt_g4f6d7ff7ce9d19a4332223241370f5c9}{fmt\_\-ullnumw} (char $\ast$buffer, unsigned long long num, unsigned width, char pad, unsigned base, const char $\ast$digits)
\item 
unsigned \hyperlink{group__fmt_g7db138d3b4d516185e867968fdd9a2ca}{fmt\_\-ulldec} (char $\ast$buffer, unsigned long long num)
\item 
unsigned \hyperlink{group__fmt_g4aa867fd5f5a77bf0b2f280599d6aa79}{fmt\_\-ulldecw} (char $\ast$buffer, unsigned long long num, unsigned width, char pad)
\item 
unsigned \hyperlink{group__fmt_gf58bf0ada39489279c7d3f470259a225}{fmt\_\-ullhex} (char $\ast$buffer, unsigned long long num)
\item 
unsigned \hyperlink{group__fmt_ga6cc0111bbf26bf10be7eba8823307ae}{fmt\_\-ullhexw} (char $\ast$buffer, unsigned long long num, unsigned width, char pad)
\item 
unsigned \hyperlink{group__fmt_g4be421a6bbb01aec3585eabc588c70ae}{fmt\_\-ull\-Hex} (char $\ast$buffer, unsigned long long num)
\item 
unsigned \hyperlink{group__fmt_g3d136fd67f2772fa36c723dc7bf48460}{fmt\_\-ull\-Hexw} (char $\ast$buffer, unsigned long long num, unsigned width, char pad)
\end{CompactItemize}
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define \hyperlink{group__fmt_g43dd71c59052b32ecf086b3690ef4216}{FMT\_\-ULONG\_\-LEN}~40
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
unsigned \hyperlink{group__fmt_g23e3b855943d828c0236b6dae609cb71}{fmt\_\-pad} (char $\ast$buffer, unsigned width, char pad)
\item 
unsigned \hyperlink{group__fmt_g36373924f1c9d9860f6f71ea2b09a206}{fmt\_\-sign\_\-pad} (char $\ast$buffer, int sign, unsigned width, char pad)
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
const char \hyperlink{group__fmt_g7147653a54c1ddfd3a1bdbdd96c1ea18}{fmt\_\-lcase\_\-digits} \mbox{[}36\mbox{]}
\item 
const char \hyperlink{group__fmt_ge7dc3d439e1a77e25abdf523e64f25f2}{fmt\_\-ucase\_\-digits} \mbox{[}36\mbox{]}
\end{CompactItemize}


\subsection{Detailed Description}
\begin{Desc}
\item[Function Naming]\end{Desc}
\begin{enumerate}
\item Prefix\begin{itemize}
\item {\tt fmt\_\-} : Always present\end{itemize}
\item Data type\begin{itemize}
\item {\tt s} : Signed integer (long)\item {\tt u} : Unsigned integer (long)\item {\tt sll} : Signed long long integer\item {\tt ull} : Unsigned long long integer\end{itemize}
\item Conversion type\begin{itemize}
\item {\tt num} : Generic number\item {\tt dec} : Decimal\item {\tt hex} : Hexadecimal (lower case)\item {\tt Hex} : Hexadecimal (upper case)\end{itemize}
\item Width / Padding\begin{itemize}
\item {\tt w} : (optional) Pad out the result to a minimum width\end{itemize}
\end{enumerate}


For example, {\tt fmt\_\-sdecw} formats a signed integer using decimal with width padding.

\begin{Desc}
\item[Calling Convention]\end{Desc}
Parameters to the fmt functions are passed in the following order. The presence of all parameters, except for {\tt buffer}, is dependant on which function is being used.

\begin{enumerate}
\item {\tt buffer} : The character string into which to put the data result. If this is {\tt NULL}, no data is written, and only the length is calculated. This is useful for determining how long a formatted string might be.\item {\tt number} or {\tt data} : The input data item to convert.\item {\tt width} : The minimum output width.\item {\tt pad} : The character with which to pad the output.\item {\tt base} : The numerical base to use.\item {\tt digits} : The array of digits to use.\end{enumerate}


\begin{Desc}
\item[Return Value]\end{Desc}
All fmt functions return the number of bytes written to the buffer space. 

\subsection{Define Documentation}
\hypertarget{group__fmt_g43dd71c59052b32ecf086b3690ef4216}{
\index{fmt@{fmt}!FMT_ULONG_LEN@{FMT\_\-ULONG\_\-LEN}}
\index{FMT_ULONG_LEN@{FMT\_\-ULONG\_\-LEN}!fmt@{fmt}}
\subsubsection[FMT\_\-ULONG\_\-LEN]{\setlength{\rightskip}{0pt plus 5cm}\#define FMT\_\-ULONG\_\-LEN~40}}
\label{group__fmt_g43dd71c59052b32ecf086b3690ef4216}


The maximum space used by a formatted number. This value is long enough for 2$^\wedge$128 plus a trailing {\tt NUL} byte. 

\subsection{Function Documentation}
\hypertarget{group__fmt_g8cf2587d24ebfb689584ac2b720848f7}{
\index{fmt@{fmt}!fmt_char@{fmt\_\-char}}
\index{fmt_char@{fmt\_\-char}!fmt@{fmt}}
\subsubsection[fmt\_\-char]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-char (char $\ast$ {\em buffer}, int {\em ch}, unsigned {\em width}, char {\em pad})}}
\label{group__fmt_g8cf2587d24ebfb689584ac2b720848f7}


Format a single character \hypertarget{group__fmt_g4aa700e3901cdb492952b0bce2bc5ef7}{
\index{fmt@{fmt}!fmt_multi@{fmt\_\-multi}}
\index{fmt_multi@{fmt\_\-multi}!fmt@{fmt}}
\subsubsection[fmt\_\-multi]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-multi (char $\ast$ {\em buffer}, const char $\ast$ {\em format},  {\em ...})}}
\label{group__fmt_g4aa700e3901cdb492952b0bce2bc5ef7}


Format multiple items.

The {\tt format} string used to describe the multiple items is related to what is used with printf and related functions, but has one critical difference: instead of formatted items being escaped, literal text must be escaped. This solves the largest security issue with using printf-style format strings, which is the possibility of accidentally treating untrusted text as the format string.

The format string is composed of zero or more format items. Each item is composed of the following parts:

{\bf Zero or more flag characters:}

\begin{description}
\item[{\tt \#} ]Use an \char`\"{}alternate form\char`\"{} to convert the value. For octal conversion, the result is prefixed with a {\tt 0} . For hexadecimal conversion, the result is prefixed with either {\tt 0x} or {\tt 0X} depending on the conversion type.

\item[{\tt -} ](not implemented) Pad on the right (left justified) instead of on the left (default right justified).

\item[{\tt 0} ]Pad the result with zeros instead of spaces.

\end{description}


{\bf Field width.}

The option field width is a decimal digit string specifying the minimum field width. If the converted value has fewer characters than the field width, it will be padded out to the field width.

{\bf Length modifier:}

\begin{description}
\item[{\tt l} ]The following conversion uses a {\tt long} integer type.

\item[{\tt ll} ]The following conversion uses a {\tt long} {\tt long} integer type.

\end{description}


{\bf Conversion specifier.}

\begin{description}
\item[{\tt d} ]\item[{\tt i} ]The {\tt int} argument is converted to a signed decimal string.

\item[{\tt o} ]\item[{\tt u} ]\item[{\tt x} ]\item[{\tt X} ]The {\tt unsigned} {\tt int} argument is converted to a unsigned octal, unsigned decimal, lowercase unsigned hexadecimal, or uppercase unsigned hexadecimal string respectively.

\item[{\tt c} ]The {\tt int} argument is converted to an unsigned char.

\item[{\tt s} ]The {\tt const} {\tt char$\ast$} argument is converted.

\item[{\tt S} ]The {\tt const} {\tt str$\ast$} argument is converted.

\item[{\tt p} ]The {\tt void$\ast$} argument is converted to a hexadecimal string.

\item[{\tt m} ]The result of {\tt strerror(errno)} is formatted.

\item[{\tt $\backslash$} ]The next character literal from the format string is converted as with {\tt c} conversion.

\item[{\tt \{string\}} ]The literal string enclosed by the parenthesis is converted as with {\tt s} conversion.

\end{description}
\hypertarget{group__fmt_gfaa2bfdb6564f3673ecc146ae211c34c}{
\index{fmt@{fmt}!fmt_multiv@{fmt\_\-multiv}}
\index{fmt_multiv@{fmt\_\-multiv}!fmt@{fmt}}
\subsubsection[fmt\_\-multiv]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-multiv (char $\ast$ {\em buffer}, const char $\ast$ {\em format}, va\_\-list {\em ap})}}
\label{group__fmt_gfaa2bfdb6564f3673ecc146ae211c34c}


Format multiple items, using a va\_\-list.

This is the core function used to format multiple items. \hypertarget{group__fmt_g23e3b855943d828c0236b6dae609cb71}{
\index{fmt@{fmt}!fmt_pad@{fmt\_\-pad}}
\index{fmt_pad@{fmt\_\-pad}!fmt@{fmt}}
\subsubsection[fmt\_\-pad]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-pad (char $\ast$ {\em buffer}, unsigned {\em width}, char {\em pad})}}
\label{group__fmt_g23e3b855943d828c0236b6dae609cb71}


Format a pad character. \hypertarget{group__fmt_g9952c09d2faa2199c44f82e0107efb11}{
\index{fmt@{fmt}!fmt_sdec@{fmt\_\-sdec}}
\index{fmt_sdec@{fmt\_\-sdec}!fmt@{fmt}}
\subsubsection[fmt\_\-sdec]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-sdec (char $\ast$ {\em buffer}, long {\em num})}}
\label{group__fmt_g9952c09d2faa2199c44f82e0107efb11}


Format a signed integer as decimal. \hypertarget{group__fmt_gd6ce18c84381ca01d1881677e04e7319}{
\index{fmt@{fmt}!fmt_sdecw@{fmt\_\-sdecw}}
\index{fmt_sdecw@{fmt\_\-sdecw}!fmt@{fmt}}
\subsubsection[fmt\_\-sdecw]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-sdecw (char $\ast$ {\em buffer}, long {\em num}, unsigned {\em width}, char {\em pad})}}
\label{group__fmt_gd6ce18c84381ca01d1881677e04e7319}


Format a signed integer as decimal with padding. \hypertarget{group__fmt_g36373924f1c9d9860f6f71ea2b09a206}{
\index{fmt@{fmt}!fmt_sign_pad@{fmt\_\-sign\_\-pad}}
\index{fmt_sign_pad@{fmt\_\-sign\_\-pad}!fmt@{fmt}}
\subsubsection[fmt\_\-sign\_\-pad]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-sign\_\-pad (char $\ast$ {\em buffer}, int {\em sign}, unsigned {\em width}, char {\em pad})}}
\label{group__fmt_g36373924f1c9d9860f6f71ea2b09a206}


Format padding for a signed number. \hypertarget{group__fmt_gea966b25aa32c5ba418ce06a69ceb7d4}{
\index{fmt@{fmt}!fmt_slldec@{fmt\_\-slldec}}
\index{fmt_slldec@{fmt\_\-slldec}!fmt@{fmt}}
\subsubsection[fmt\_\-slldec]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-slldec (char $\ast$ {\em buffer}, long long {\em num})}}
\label{group__fmt_gea966b25aa32c5ba418ce06a69ceb7d4}


Format a signed long long integer as decimal. \hypertarget{group__fmt_g9e912f164c9cb793ef6dc480086dfbf6}{
\index{fmt@{fmt}!fmt_slldecw@{fmt\_\-slldecw}}
\index{fmt_slldecw@{fmt\_\-slldecw}!fmt@{fmt}}
\subsubsection[fmt\_\-slldecw]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-slldecw (char $\ast$ {\em buffer}, long long {\em num}, unsigned {\em width}, char {\em pad})}}
\label{group__fmt_g9e912f164c9cb793ef6dc480086dfbf6}


Format a signed long long integer as decimal with padding. \hypertarget{group__fmt_g846c37d2986b307ac3247b4a08a2c0e9}{
\index{fmt@{fmt}!fmt_sllnumw@{fmt\_\-sllnumw}}
\index{fmt_sllnumw@{fmt\_\-sllnumw}!fmt@{fmt}}
\subsubsection[fmt\_\-sllnumw]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-sllnumw (char $\ast$ {\em buffer}, long long {\em num}, unsigned {\em width}, char {\em pad}, unsigned {\em base}, const char $\ast$ {\em digits})}}
\label{group__fmt_g846c37d2986b307ac3247b4a08a2c0e9}


Format a signed long long integer of arbitrary base with optional padding. \hypertarget{group__fmt_g03ef4589754b709c3aef3e3143275f52}{
\index{fmt@{fmt}!fmt_snumw@{fmt\_\-snumw}}
\index{fmt_snumw@{fmt\_\-snumw}!fmt@{fmt}}
\subsubsection[fmt\_\-snumw]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-snumw (char $\ast$ {\em buffer}, long {\em num}, unsigned {\em width}, char {\em pad}, unsigned {\em base}, const char $\ast$ {\em digits})}}
\label{group__fmt_g03ef4589754b709c3aef3e3143275f52}


Format a signed integer of arbitrary base with optional padding. \hypertarget{group__fmt_gb6f4bdfdc75deed202cc4403f972dca2}{
\index{fmt@{fmt}!fmt_udec@{fmt\_\-udec}}
\index{fmt_udec@{fmt\_\-udec}!fmt@{fmt}}
\subsubsection[fmt\_\-udec]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-udec (char $\ast$ {\em buffer}, unsigned long {\em num})}}
\label{group__fmt_gb6f4bdfdc75deed202cc4403f972dca2}


Format an unsigned integer as decimal. \hypertarget{group__fmt_gdb632bcf182ecb82ba69de83370bdb5d}{
\index{fmt@{fmt}!fmt_udecw@{fmt\_\-udecw}}
\index{fmt_udecw@{fmt\_\-udecw}!fmt@{fmt}}
\subsubsection[fmt\_\-udecw]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-udecw (char $\ast$ {\em buffer}, unsigned long {\em num}, unsigned {\em width}, char {\em pad})}}
\label{group__fmt_gdb632bcf182ecb82ba69de83370bdb5d}


Format an unsigned integer as decimal with padding. \hypertarget{group__fmt_gcd4bc1820b0553b90a4a51bad560e031}{
\index{fmt@{fmt}!fmt_uHex@{fmt\_\-uHex}}
\index{fmt_uHex@{fmt\_\-uHex}!fmt@{fmt}}
\subsubsection[fmt\_\-uHex]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-u\-Hex (char $\ast$ {\em buffer}, unsigned long {\em num})}}
\label{group__fmt_gcd4bc1820b0553b90a4a51bad560e031}


Format an unsigned integer as (upper-case) hexadecimal. \hypertarget{group__fmt_g7208c091848b3193265cfb8a2b2335f2}{
\index{fmt@{fmt}!fmt_uhex@{fmt\_\-uhex}}
\index{fmt_uhex@{fmt\_\-uhex}!fmt@{fmt}}
\subsubsection[fmt\_\-uhex]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-uhex (char $\ast$ {\em buffer}, unsigned long {\em num})}}
\label{group__fmt_g7208c091848b3193265cfb8a2b2335f2}


Format an unsigned integer as (lower-case) hexadecimal. \hypertarget{group__fmt_g30218a8ef109106e929070089568b939}{
\index{fmt@{fmt}!fmt_uHexw@{fmt\_\-uHexw}}
\index{fmt_uHexw@{fmt\_\-uHexw}!fmt@{fmt}}
\subsubsection[fmt\_\-uHexw]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-u\-Hexw (char $\ast$ {\em buffer}, unsigned long {\em num}, unsigned {\em width}, char {\em pad})}}
\label{group__fmt_g30218a8ef109106e929070089568b939}


Format an unsigned integer as (upper-case) hexadecimal with padding. \hypertarget{group__fmt_g5c9c916ec100fd2c45f4d99455609158}{
\index{fmt@{fmt}!fmt_uhexw@{fmt\_\-uhexw}}
\index{fmt_uhexw@{fmt\_\-uhexw}!fmt@{fmt}}
\subsubsection[fmt\_\-uhexw]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-uhexw (char $\ast$ {\em buffer}, unsigned long {\em num}, unsigned {\em width}, char {\em pad})}}
\label{group__fmt_g5c9c916ec100fd2c45f4d99455609158}


Format an unsigned integer as (lower-case) hexadecimal with padding. \hypertarget{group__fmt_g7db138d3b4d516185e867968fdd9a2ca}{
\index{fmt@{fmt}!fmt_ulldec@{fmt\_\-ulldec}}
\index{fmt_ulldec@{fmt\_\-ulldec}!fmt@{fmt}}
\subsubsection[fmt\_\-ulldec]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-ulldec (char $\ast$ {\em buffer}, unsigned long long {\em num})}}
\label{group__fmt_g7db138d3b4d516185e867968fdd9a2ca}


Format an unsigned long long integer as decimal. \hypertarget{group__fmt_g4aa867fd5f5a77bf0b2f280599d6aa79}{
\index{fmt@{fmt}!fmt_ulldecw@{fmt\_\-ulldecw}}
\index{fmt_ulldecw@{fmt\_\-ulldecw}!fmt@{fmt}}
\subsubsection[fmt\_\-ulldecw]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-ulldecw (char $\ast$ {\em buffer}, unsigned long long {\em num}, unsigned {\em width}, char {\em pad})}}
\label{group__fmt_g4aa867fd5f5a77bf0b2f280599d6aa79}


Format an unsigned long long integer as decimal with padding. \hypertarget{group__fmt_g4be421a6bbb01aec3585eabc588c70ae}{
\index{fmt@{fmt}!fmt_ullHex@{fmt\_\-ullHex}}
\index{fmt_ullHex@{fmt\_\-ullHex}!fmt@{fmt}}
\subsubsection[fmt\_\-ullHex]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-ull\-Hex (char $\ast$ {\em buffer}, unsigned long long {\em num})}}
\label{group__fmt_g4be421a6bbb01aec3585eabc588c70ae}


Format an unsigned long long integer as (upper-case) hexadecimal. \hypertarget{group__fmt_gf58bf0ada39489279c7d3f470259a225}{
\index{fmt@{fmt}!fmt_ullhex@{fmt\_\-ullhex}}
\index{fmt_ullhex@{fmt\_\-ullhex}!fmt@{fmt}}
\subsubsection[fmt\_\-ullhex]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-ullhex (char $\ast$ {\em buffer}, unsigned long long {\em num})}}
\label{group__fmt_gf58bf0ada39489279c7d3f470259a225}


Format an unsigned long long integer as hexadecimal. \hypertarget{group__fmt_g3d136fd67f2772fa36c723dc7bf48460}{
\index{fmt@{fmt}!fmt_ullHexw@{fmt\_\-ullHexw}}
\index{fmt_ullHexw@{fmt\_\-ullHexw}!fmt@{fmt}}
\subsubsection[fmt\_\-ullHexw]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-ull\-Hexw (char $\ast$ {\em buffer}, unsigned long long {\em num}, unsigned {\em width}, char {\em pad})}}
\label{group__fmt_g3d136fd67f2772fa36c723dc7bf48460}


Format an unsigned long long integer as (upper-case) hexadecimal with padding. \hypertarget{group__fmt_ga6cc0111bbf26bf10be7eba8823307ae}{
\index{fmt@{fmt}!fmt_ullhexw@{fmt\_\-ullhexw}}
\index{fmt_ullhexw@{fmt\_\-ullhexw}!fmt@{fmt}}
\subsubsection[fmt\_\-ullhexw]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-ullhexw (char $\ast$ {\em buffer}, unsigned long long {\em num}, unsigned {\em width}, char {\em pad})}}
\label{group__fmt_ga6cc0111bbf26bf10be7eba8823307ae}


Format an unsigned long long integer as hexadecimal with padding. \hypertarget{group__fmt_g4f6d7ff7ce9d19a4332223241370f5c9}{
\index{fmt@{fmt}!fmt_ullnumw@{fmt\_\-ullnumw}}
\index{fmt_ullnumw@{fmt\_\-ullnumw}!fmt@{fmt}}
\subsubsection[fmt\_\-ullnumw]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-ullnumw (char $\ast$ {\em buffer}, unsigned long long {\em num}, unsigned {\em width}, char {\em pad}, unsigned {\em base}, const char $\ast$ {\em digits})}}
\label{group__fmt_g4f6d7ff7ce9d19a4332223241370f5c9}


Format an unsigned long long integer of arbitrary base with optional padding. \hypertarget{group__fmt_g21aed97705f1db6ab7cd56e95ccc2957}{
\index{fmt@{fmt}!fmt_unumw@{fmt\_\-unumw}}
\index{fmt_unumw@{fmt\_\-unumw}!fmt@{fmt}}
\subsubsection[fmt\_\-unumw]{\setlength{\rightskip}{0pt plus 5cm}unsigned fmt\_\-unumw (char $\ast$ {\em buffer}, unsigned long {\em num}, unsigned {\em width}, char {\em pad}, unsigned {\em base}, const char $\ast$ {\em digits})}}
\label{group__fmt_g21aed97705f1db6ab7cd56e95ccc2957}


Format an unsigned integer of arbitrary base with optional padding. 

\subsection{Variable Documentation}
\hypertarget{group__fmt_g7147653a54c1ddfd3a1bdbdd96c1ea18}{
\index{fmt@{fmt}!fmt_lcase_digits@{fmt\_\-lcase\_\-digits}}
\index{fmt_lcase_digits@{fmt\_\-lcase\_\-digits}!fmt@{fmt}}
\subsubsection[fmt\_\-lcase\_\-digits]{\setlength{\rightskip}{0pt plus 5cm}const char \hyperlink{group__fmt_g7147653a54c1ddfd3a1bdbdd96c1ea18}{fmt\_\-lcase\_\-digits}\mbox{[}36\mbox{]}}}
\label{group__fmt_g7147653a54c1ddfd3a1bdbdd96c1ea18}


Array of digits for lower-case conversions \hypertarget{group__fmt_ge7dc3d439e1a77e25abdf523e64f25f2}{
\index{fmt@{fmt}!fmt_ucase_digits@{fmt\_\-ucase\_\-digits}}
\index{fmt_ucase_digits@{fmt\_\-ucase\_\-digits}!fmt@{fmt}}
\subsubsection[fmt\_\-ucase\_\-digits]{\setlength{\rightskip}{0pt plus 5cm}const char \hyperlink{group__fmt_ge7dc3d439e1a77e25abdf523e64f25f2}{fmt\_\-ucase\_\-digits}\mbox{[}36\mbox{]}}}
\label{group__fmt_ge7dc3d439e1a77e25abdf523e64f25f2}


Array of digits for upper-case conversions 