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
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
master
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'master'
${ noResults }
libowfat
/
fmt
/
fmt_tohex.c
7 lines
85 B
C
Raw
Permalink
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
21 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
21 years ago
}