Example #1
0
int
my_fclose(FILE *__stream)
{
    WRAPPERS_DEBUG_PRINTF("fclose(%p, %p)\n", __stream, &my___sF);
    if (IS_STDIO_FILE(__stream))
        return fclose(TO_STDIO_FILE(__stream));
    else
        return fclose(__stream);
}
Example #2
0
uLong
my_crc32(uLong crc, const Bytef *buf, uInt len)
{
    WRAPPERS_DEBUG_PRINTF("crc32(%lu, %p, %d)\n", crc, buf, len);
    return crc32(crc, buf, len);
}
Example #3
0
double
my_cosh(double __x)
{
    WRAPPERS_DEBUG_PRINTF("cosh(%f)\n", __x);
    return cosh(__x);
}
Example #4
0
int
my_connect(int __fd, __const struct sockaddr *__addr, socklen_t __len)
{
    WRAPPERS_DEBUG_PRINTF("connect(%d, %p, %d)\n", __fd, __addr, __len);
    return connect(__fd, __addr, __len);
}
Example #5
0
int
my_close(int __fd)
{
    WRAPPERS_DEBUG_PRINTF("close(%d)\n", __fd);
    return close(__fd);
}
Example #6
0
clock_t
my_clock()
{
    WRAPPERS_DEBUG_PRINTF("clock()\n");
    return clock();
}
Example #7
0
double
my_ceil(double __x)
{
    WRAPPERS_DEBUG_PRINTF("ceil(%f)\n", __x);
    return ceil(__x);
}
Example #8
0
double
my_asin(double __x)
{
    WRAPPERS_DEBUG_PRINTF("asin()\n", __x);
    return asin(__x);
}
Example #9
0
double
my_atan(double __x)
{
    WRAPPERS_DEBUG_PRINTF("atan(%f)\n", __x);
    return atan(__x);
}
Example #10
0
double
my_acos(double __x)
{
    WRAPPERS_DEBUG_PRINTF("acos(%f)\n", __x);
    return acos(__x);
}
Example #11
0
void
my_abort()
{
    WRAPPERS_DEBUG_PRINTF("abort()\n");
    abort();
}
Example #12
0
int
my_fcntl(int __fd, int __cmd, ...)
{
    WRAPPERS_DEBUG_PRINTF("fcntl(%d, %d)\n", __fd, __cmd);
    return fcntl(__fd, __cmd);
}
Example #13
0
double
my_exp(double __x)
{
    WRAPPERS_DEBUG_PRINTF("exp(%f)\n", __x);
    return exp(__x);
}
Example #14
0
double
my_difftime(time_t __time1, time_t __time0)
{
    WRAPPERS_DEBUG_PRINTF("difftime()\n");
    return difftime(__time1, __time0);
}
Example #15
0
double
my_atan2(double __y, double __x)
{
    WRAPPERS_DEBUG_PRINTF("atan2(%f, %f)\n", __y, __x);
    return atan2(__y, __x);
}
Example #16
0
void
my_exit(int __status)
{
    WRAPPERS_DEBUG_PRINTF("exit(%d)\n", __status);
    exit(__status);
}
Example #17
0
int*
my___errno()
{
    WRAPPERS_DEBUG_PRINTF("__errno()\n");
    return &errno;
}