00001 #ifndef _MINLIB
00002 #define _MINLIB
00003
00004 #ifndef _ANSI_H
00005 #include <ansi.h>
00006 #endif
00007
00008
00009 _PROTOTYPE(void swab, (char *_from, char *_to, int _count));
00010 _PROTOTYPE(char *itoa, (int _n));
00011 _PROTOTYPE(char *getpass, (const char *_prompt));
00012
00013
00014 _PROTOTYPE(void std_err, (char *_s));
00015 _PROTOTYPE(void prints, (const char *_s, ...));
00016 _PROTOTYPE(int fsversion, (char *_dev, char *_prog));
00017 _PROTOTYPE(int getprocessor, (void));
00018 _PROTOTYPE(void _cpuid, (u32_t *eax, u32_t *ebx, u32_t *ecx, u32_t *edx));
00019 _PROTOTYPE(int load_mtab, (char *_prog_name));
00020 _PROTOTYPE(int rewrite_mtab, (char *_prog_name));
00021 _PROTOTYPE(int get_mtab_entry, (char *_s1, char *_s2, char *_s3, char *_s4));
00022 _PROTOTYPE(int put_mtab_entry, (char *_s1, char *_s2, char *_s3, char *_s4));
00023
00024 #endif