Subversion Repositories HelenOS

Rev

Rev 2787 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2787 Rev 3424
Line 99... Line 99...
99
 
99
 
100
static const unsigned short *__ctype_b_ptr = __ctype_b + 128;
100
static const unsigned short *__ctype_b_ptr = __ctype_b + 128;
101
 
101
 
102
void __assert_fail(const char *assertion, const char *file, unsigned int line, const char *function)
102
void __assert_fail(const char *assertion, const char *file, unsigned int line, const char *function)
103
{
103
{
104
    panic("Run-time assertion (%s:%d:%s) failed (%s)", file, line, function ? function : "", assertion);
104
    panic("Run-time assertion (%s:%u:%s) failed (%s)", file, line, function ? function : "", assertion);
105
}
105
}
106
 
106
 
107
void abort(void)
107
void abort(void)
108
{
108
{
109
    panic("Run-time scheduled abort");
109
    panic("Run-time scheduled abort");
Line 159... Line 159...
159
    return 0;
159
    return 0;
160
}
160
}
161
 
161
 
162
void *memset(void *s, int c, size_t n)
162
void *memset(void *s, int c, size_t n)
163
{
163
{
164
    memsetb((uintptr_t) s, n, c);
164
    memsetb(s, n, c);
165
    return s;
165
    return s;
166
}
166
}
167
 
167
 
168
void *calloc(size_t nmemb, size_t size)
168
void *calloc(size_t nmemb, size_t size)
169
{
169
{