Chameleon

Chameleon Svn Source Tree

Root/branches/meklortOld/i386/modules/klibc/klibc.c

Source at commit 1077 created 13 years 1 month ago.
By azimutz, Removing this info from DEBUG's realm. This will be enabled by default until i gather enough feedback to decide whether it will stay On or Off by default. This info display, is only available on Gui; ShowInfo=No disables it. For the Gui minimalist, "Boot Banner"=No also disables it. Ok, "house cleaning" is suspended until i figure out what Meklort's cooking over at that new branch... "rewrite" :-o just the name sounds scary :-D
1/*
2 * klibc.c
3 *
4 * glue + initialization
5 */
6
7#include "libsaio.h"
8
9int _DefaultRuneLocale;// todo: fixme
10
11void klibc_start()
12{
13}
14
15void _exit()
16{
17}
18
19char __toupper(char c)
20{
21return ((c) & ~32);
22}
23
24void __divide_error()
25{
26stop("Divide by 0\n");
27}
28
29// hack
30int
31__maskrune(int _c, unsigned long _f)
32{
33return 0;
34//return ((_c < 0 || _c >= _CACHED_RUNES) ? ___runetype(_c) :
35//_CurrentRuneLocale->__runetype[_c]) & _f;
36}
37

Archive Download this file

Revision: 1077