4 * Copyright (C) 2017 Aleksandar Andrejevic <theflash@sdf.lonestar.org>
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Affero General Public License as
8 * published by the Free Software Foundation, either version 3 of the
9 * License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Affero General Public License for more details.
16 * You should have received a copy of the GNU Affero General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
28 char *itoa(int value, char *str, int base);
29 char *ltoa(long value, char *str, int base);
30 char *lltoa(long long value, char *str, int base);
31 char *uitoa(unsigned int value, char *str, int base);
32 char *ultoa(unsigned long value, char *str, int base);
33 char *ulltoa(unsigned long long value, char *str, int base);
34 int atoi(const char *str);
35 long atol(const char *str);
36 long long atoll(const char *str);
37 long strtol(const char *str, char **endptr, int base);
38 long long strtoll(const char *str, char **endptr, int base);
39 unsigned long strtoul(const char *str, char **endptr, int base);
40 unsigned long long strtoull(const char *str, char **endptr, int base);
42 void qsort(void *base, size_t nmemb, size_t size, int (*compare)(const void*, const void*));
43 void *bsearch(const void *key, const void *base, size_t nmemb, size_t size, int (*compare)(const void*, const void*));
47 int atexit(void (*function)(void));
48 void __attribute__((__noreturn__)) exit(int status);
50 typedef uint32_t pid_t;