TacOS
0.2
|
#include <ctype.h>
#include <errno.h>
#include <malloc.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/syscall.h>
#include <unistd.h>
#include <signal.h>
Fonctions | |
void | init_environ (char **envp) |
void * | calloc (size_t nmemb, size_t size) |
Alloue un bloc mémoire initiallement à 0. Plus de détails... | |
unsigned long int | strtoul (const char *nptr, char **endptr, int base) |
long int | strtol (const char *nptr, char **endptr, int base) |
int | atoi (const char *__nptr) |
void | itoa (char *buf, int base, int d) |
Converti l'entier d en une chaîne de caractère et le stock dans buf. L'entier base permet de spécifier la base à utiliser (decimal ou hexadécimal). Plus de détails... | |
int | rand (void) |
void | srand (unsigned int seed) |
void | exit (int value) |
char * | getenv (const char *name) |
int | putenv (char *string) |
int | clearenv (void) |
void | qsort (void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *)) |
void | abort (void) |
Terminer de manière anormale un programme. | |
Variables | |
char ** | environ = NULL |
Copyright (C) 2010-2014 TacOS developers.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at http://www.gnu.org/copyleft/gpl.html
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses.
Description de ce que fait le fichier
int atoi | ( | const char * | __nptr | ) |
Converti une chaine de caractère en entier.
__nptr | La chaine à traduire. |
nmemb | Nombre d'éléments. |
size | Taille d'un élément. |
void itoa | ( | char * | buf, |
int | base, | ||
int | d | ||
) |
Converti l'entier d en une chaîne de caractère et le stock dans buf. Si base est égal à 'd', alors il interprète d comme étant en décimal et si base est égal à 'x', alors il interprète d comme étant en hexadécimal.
buf | une chaîne de taille suffisament grande pour y stocker le résultat de la transformation. |
base | la base à utiliser pour la conversion ('d' ou 'x'). |
d | le nombre à convertir. |