shithub: riscv

Download patch

ref: ea212266a15351ee79ce1d99ffcad5dfa291d5b5
parent: c039b52fc3d7c225fe8b6f88f21df83ac26d5984
author: cinap_lenrek <[email protected]>
date: Sun Dec 31 05:53:50 EST 2017

ape: make encXchr()/decXchr() functions available

--- a/sys/src/ape/lib/9/libc.h
+++ b/sys/src/ape/lib/9/libc.h
@@ -171,6 +171,13 @@
 extern int  dec64(uchar *, int, char *, int);
 extern int  enc64(char *, int, uchar *, int);
 
+extern	int	dec64chr(int);
+extern	int	enc64chr(int);
+extern	int	dec32chr(int);
+extern	int	enc32chr(int);
+extern	int	dec16chr(int);
+extern	int	enc16chr(int);
+
 extern int tokenize(char*, char**, int);
 extern int getfields(char*, char**, int, int, char*);
 extern int gettokens(char*, char**, int, char*);