#ifndef CLIB_STDLIB_PROTOS_H
#define CLIB_STDLIB_PROTOS_H

/*
    *** Automatically generated from '/ssd/deadwood/repo-github-dd-core-release/AROS/compiler/crt/stdlib.conf'. Edits will be lost. ***
    Copyright (C) 1995-2025, The AROS Development Team. All rights reserved.
*/

#include <aros/libcall.h>

#include <libraries/stdlib.h>
#include <inttypes.h>
#include <setjmp.h>
#include <stdarg.h>
#include <stdlib.h>
#include <time.h>

__BEGIN_DECLS


#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef ___gmtoffset
int ___gmtoffset(void);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef setlocale
char * setlocale(int category, const char *locale);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef localeconv
struct lconv * localeconv(void);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef setjmp
int setjmp(jmp_buf env);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef longjmp
void longjmp(jmp_buf env, int val);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef snprintf
int snprintf(char * restrict s, size_t n, const char * restrict format, ...);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef sprintf
int sprintf(char * restrict s, const char * restrict format, ...);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef sscanf
int sscanf(const char * restrict s, const char * restrict format, ...);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef vsnprintf
int vsnprintf(char * restrict s, size_t n, const char * restrict format, va_list arg);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef vsprintf
int vsprintf(char * restrict s, const char * restrict format, va_list arg);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef vsscanf
int vsscanf(const char * restrict s, const char * restrict format, va_list arg);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef atof
double atof(const char *nptr);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef atoi
int atoi(const char *nptr);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef atol
long int atol(const char *nptr);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef atoll
long long int atoll(const char *nptr);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strtod
double strtod(const char * restrict nptr, char ** restrict endptr);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strtof
float strtof(const char * restrict nptr, char ** restrict endptr);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strtold
long double strtold(const char * restrict nptr, char ** restrict endptr);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef bsearch
void * bsearch(const void * key, const void * base, size_t count, size_t size, int (*comparefunction)(const void *, const void *));
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef qsort
void qsort(void * array, size_t count, size_t elementsize, int (*comparefunction)(const void * element1, const void * element2));
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef abs
int abs(int j);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef labs
long labs(long j);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef llabs
long long llabs(long long j);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef div
div_t div(int numer, int denom);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef ldiv
ldiv_t ldiv(long int numer, long int denom);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef lldiv
lldiv_t lldiv(long long int numer, long long int denom);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef memmove
void * memmove(void * dest, const void * src, size_t n);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strcpy
char * strcpy(char * restrict dest, const char * restrict src);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strncpy
char * strncpy(char * restrict dest, const char * restrict src, size_t n);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strcat
char * strcat(char * restrict dest, const char * restrict src);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strncat
char * strncat(char * restrict dest, const char * restrict src, size_t n);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef memcmp
int memcmp(const void * s1, const void * s2, size_t n);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strcmp
int strcmp(const char * s1, const char * s2);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strcoll
int strcoll(const char *s1, const char *s2);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strncmp
int strncmp(const char * s1, const char * s2, size_t n);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strxfrm
size_t strxfrm(char * restrict s1, const char * restrict s2, size_t n);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef memchr
void * memchr(const void * dest, int c, size_t n);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strchr
char * strchr(const char * s, int c);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strcspn
size_t strcspn(const char *s1, const char *s2);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strpbrk
char * strpbrk(const char * s1, const char * s2);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strrchr
char * strrchr(const char * s, int c);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strspn
size_t strspn(const char * s1, const char * s2);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strstr
char * strstr(const char * buf, const char * str);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef memset
void * memset(void * dest, int c, size_t n);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strlen
size_t strlen(const char * str);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef difftime
double difftime(time_t time2, time_t time1);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef mktime
time_t mktime(struct tm * utim);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef time
time_t time(time_t * tloc);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strftime
size_t strftime(char * s, size_t maxsize, const char * format, const struct tm * timeptr);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef __vcformat
int __vcformat(void * data, int (*outc)(int, void *), const char * format, va_list args);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef __vcscan
int __vcscan(void * data, int (*getc)(void *), int (*ungetc)(int, void *), const char * format, va_list args);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef stpcpy
char * stpcpy(char *restrict dest, const char *restrict src);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strnlen
size_t strnlen(const char *ptr, size_t n);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strtok_r
char * strtok_r(char *restrict str, const char *restrict sep, char **restrict saveptr);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strlcpy
size_t strlcpy(char *dst, const char *src, size_t size);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strlcat
size_t strlcat(char *dst, const char *src, size_t size);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strsep
char * strsep(char ** strptr, const char * sep);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strlwr
char * strlwr(char * s);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strupr
char * strupr(char * s);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strrev
char * strrev(char * s);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef stch_l
int stch_l(const char * in, long * lvalue);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef stcd_l
int stcd_l(const char * in, long * lvalue);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef stco_l
int stco_l(const char * in, long * lvalue);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef stcl_d
int stcl_d(char * out, long lvalue);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef stcl_h
int stcl_h(char * out, long lvalue);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef stcl_o
int stcl_o(char * out, long lvalue);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef stcu_d
int stcu_d(char * out, unsigned uivalue);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef stccpy
size_t stccpy(char *str1_ptr, const char *str2_ptr, size_t max);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef stpsym
char * stpsym(char *str_ptr, char *dest_ptr, int dest_size);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef stpblk
char * stpblk(const char * str);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strcasecmp
int strcasecmp(const char * s1, const char * s2);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef strncasecmp
int strncasecmp(const char * str1, const char * str2, size_t n);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef asctime_r
char * asctime_r(const struct tm * tm, char * buf);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef ctime_r
char * ctime_r(const time_t * tt, char * buf);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef gmtime_r
struct tm * gmtime_r(const time_t * tt, struct tm * tm);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef localtime_r
struct tm * localtime_r(const time_t * tt, struct tm * tm);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wcschr
wchar_t * wcschr(const wchar_t *s, wchar_t c);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wcscmp
int wcscmp(const wchar_t *wcstra, const wchar_t *wcstrb);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wcscspn
size_t wcscspn(const wchar_t *s1, const wchar_t *s2);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wcsncat
wchar_t * wcsncat(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wcsncpy
wchar_t * wcsncpy(wchar_t *wcdst, const wchar_t *wcsrc, size_t cnt);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wcsncmp
int wcsncmp(const wchar_t *wcstra, const wchar_t *wcstrb, size_t cnt);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wcslen
size_t wcslen(const wchar_t *wcstr);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wcscpy
wchar_t * wcscpy(wchar_t *wcdst, const wchar_t *wcsrc);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wcscat
wchar_t * wcscat(wchar_t * wcdst, const wchar_t * wcsrc);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wcspbrk
wchar_t * wcspbrk(const wchar_t *s1, const wchar_t *s2);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wcsrchr
wchar_t * wcsrchr(const wchar_t *s, wchar_t c);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wcsspn
size_t wcsspn(const wchar_t *s1, const wchar_t *s2);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wcsstr
wchar_t * wcsstr(const wchar_t *s1, const wchar_t *s2);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wcstok
wchar_t * wcstok(wchar_t * restrict s1, const wchar_t * restrict s2, wchar_t ** ptr);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wmemchr
wchar_t * wmemchr(const wchar_t *s, wchar_t c, size_t n);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wmemcmp
int wmemcmp(const wchar_t * s1, const wchar_t * s2, size_t n);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wmemcpy
wchar_t * wmemcpy(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wmemmove
wchar_t * wmemmove(wchar_t *s1, const wchar_t *s2, size_t n);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__)
#ifndef wmemset
wchar_t * wmemset(wchar_t *s, wchar_t c, size_t n);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (1 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (2 <= __STDLIB_LIBAPI__)
#ifndef __wvcformat
int __wvcformat(void * data, int (* outc)(int, void *), const wchar_t * format, va_list args);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (2 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (3 <= __STDLIB_LIBAPI__)
#ifndef imaxabs
intmax_t imaxabs(intmax_t j);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (3 <= __STDLIB_LIBAPI__) */

#if !defined(__STDLIB_LIBAPI__) || (3 <= __STDLIB_LIBAPI__)
#ifndef imaxdiv
imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom);
#endif

#endif /* !defined(__STDLIB_LIBAPI__) || (3 <= __STDLIB_LIBAPI__) */

__END_DECLS

#endif /* CLIB_STDLIB_PROTOS_H */
