This website works better with JavaScript.
Explore
Help
Sign In
mirror
/
libowfat
Watch
1
Star
0
Fork
You've already forked libowfat
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
9cfa19396e
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
22 years ago
#
include
"fmt.h"
char
fmt_tohex
(
char
c
)
{
remove compiler warnings
11 years ago
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
22 years ago
}