This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
libowfat
mirror of
/home/gitosis/repositories/libowfat.git
Watch
1
Star
0
Fork
You've already forked libowfat
0
Code
Releases
Activity
aedf1016c1
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:25:33 +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
}