Steal MSL stuff from sms and fdlibm

This commit is contained in:
Roman Sandu
2025-06-23 20:33:40 +03:00
parent a10e202517
commit bf33740d76
59 changed files with 4782 additions and 220 deletions
+4
View File
@@ -1,4 +1,8 @@
#ifndef _ERRNO_H_
#define _ERRNO_H_
#define ERANGE 32
extern int errno;
#endif
+2
View File
@@ -19,4 +19,6 @@
#define LONG_MAX 2147483647
#define ULONG_MAX 4294967295
#define DBL_MANT_DIG 53
#endif
+1 -21
View File
@@ -7,27 +7,7 @@
extern "C" {
#endif
typedef struct
{
int unk0;
unsigned short unk4b0:7;
unsigned short unk4b7:3;
unsigned short unk4b10:2;
unsigned short unk4b12:1;
unsigned char filler6[0x14-0x6];
int unk14;
int unk18;
int unk1C;
int unk20;
int unk24;
int unk28;
unsigned char filler2C[0x30-0x2C];
int unk30;
unsigned char filler34[0x3C-0x34];
int (*unk3C)();
unsigned char filler40[4];
int unk44;
} FILE;
#include "MSL_C/ansi_files.h"
int puts(const char *s);
int printf(const char *, ...);