This website requires JavaScript.
Explore
Help
Sign In
mirror
/
libowfat
Watch
1
Star
0
Fork
0
You've already forked libowfat
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
libowfat
/
fmt
/
fmt_tohex.c
7 lines
85 B
C
Raw
Normal View
History
Unescape
Escape
remove special case stralloc textcode functions write generic stralloc and array textcode wrapper functions change textcode API to use long instead of int add cescape fmt and scan functions to textcode add fmt_foldwhitespace to textcode
2003-09-19 19:08:13 +00:00
#
include
"fmt.h"
char
fmt_tohex
(
char
c
)
{
remove compiler warnings
2014-03-14 00:24:25 +00:00
return
(
char
)
(
c
>
=
10
?
c
-
10
+
'
a
'
:
c
+
'
0
'
)
;
remove special case stralloc textcode functions write generic stralloc and array textcode wrapper functions change textcode API to use long instead of int add cescape fmt and scan functions to textcode add fmt_foldwhitespace to textcode
2003-09-19 19:08:13 +00:00
}
Reference in New Issue
Copy Permalink