74 void __FillChar(pointer p, int size, char fill); |
74 void __FillChar(pointer p, int size, char fill); |
75 string255 _strconcat(string255 a, string255 b); |
75 string255 _strconcat(string255 a, string255 b); |
76 string255 _strappend(string255 s, char c); |
76 string255 _strappend(string255 s, char c); |
77 string255 _strprepend(char c, string255 s); |
77 string255 _strprepend(char c, string255 s); |
78 bool _strcompare(string255 a, string255 b); |
78 bool _strcompare(string255 a, string255 b); |
|
79 bool _strcomparec(string255 a, char b); |
79 bool _strncompare(string255 a, string255 b); |
80 bool _strncompare(string255 a, string255 b); |
80 char * _pchar(string255 s); |
81 char * _pchar(string255 s); |
81 |
82 |
82 int Length(string255 a); |
83 int Length(string255 a); |
83 string255 copy(string255 a, int s, int l); |
84 string255 copy(string255 a, int s, int l); |
97 void BlockRead_(int f, void * p, int size, int * sizeRead); |
98 void BlockRead_(int f, void * p, int size, int * sizeRead); |
98 #define BlockWrite(a, b, c) BlockWrite_(a, &(b), c) |
99 #define BlockWrite(a, b, c) BlockWrite_(a, &(b), c) |
99 void BlockWrite_(int f, void * p, int size); |
100 void BlockWrite_(int f, void * p, int size); |
100 void close(int f); |
101 void close(int f); |
101 |
102 |
|
103 void write(string255 s); |
|
104 |
102 bool DirectoryExists(string255 dir); |
105 bool DirectoryExists(string255 dir); |
103 bool FileExists(string255 filename); |
106 bool FileExists(string255 filename); |
104 |
107 |
105 bool odd(int i); |
108 bool odd(int i); |
106 |
109 |
112 void __InterlockedIncrement(int * a); |
115 void __InterlockedIncrement(int * a); |
113 void __InterlockedDecrement(int * a); |
116 void __InterlockedDecrement(int * a); |
114 |
117 |
115 bool Assigned(void * a); |
118 bool Assigned(void * a); |
116 |
119 |
|
120 void randomize(); |
117 int random(int max); |
121 int random(int max); |
118 int abs(int i); |
122 int abs(int i); |
119 double sqr(double n); |
123 double sqr(double n); |
120 double sqrt(double n); |
124 double sqrt(double n); |
121 int trunc(double n); |
125 int trunc(double n); |
122 int round(double n); |
126 int round(double n); |
123 |
127 |
124 string255 ParamStr(int n); |
128 string255 ParamStr(int n); |
125 int ParamCount(); |
129 int ParamCount(); |
|
130 |
|
131 #define val(a, b) _val(a, (LongInt*)&(b)) |
|
132 void _val(string255 str, LongInt * a); |