libs: get rid of libstdio (and stdio.h); mv ctype.h chartypes.h in /sys/include

This commit is contained in:
2020-09-13 02:21:36 +02:00
parent 0a325039bf
commit 16c7924425
132 changed files with 113 additions and 3875 deletions

View File

@@ -1,13 +1,12 @@
#include <u.h>
#include <lib9.h>
#include <stdio.h>
void
main(){
char *correct="0.987650\n";
static char result[128];
sprintf(result, "%f\n", 0.98765f);
sprint(result, "%f\n", 0.98765f);
if(!strcmp(result, correct)){
print("PASS\n");