This website works better with 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
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ea849e7ebf
master
vendor
start
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'ea849e7ebf'
${ noResults }
libowfat
/
fmt
/
fmt_tohex.c
7 lines
85 B
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
20 years ago
#
include
"fmt.h"
char
fmt_tohex
(
char
c
)
{
remove compiler warnings
9 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
20 years ago
}