My Project
Chargement...
Recherche...
Aucune correspondance
unistd.h
Aller à la documentation de ce fichier.
1/*----------------------------------------------------------------------------*/
2/* Définition des fonctions de base du mode utilisateur de ManuX. */
3/* */
4/* (C) Manu Chaput 2002-2021 */
5/*----------------------------------------------------------------------------*/
6#ifndef _UNISTD_H
7#define _UNISTD_H
8
9#include <manux/config.h>
10#include <manux/types.h>
11
18int creerNouvelleTache(void (corps()), booleen shareCons);
19
25
30
34int tube(int * fd);
35
40
44#ifdef MANUX_AS_TEST_SYNCHRO
45int testSynchro(int increment, int action);
46#endif
47
48#endif
int booleen
Definition types.h:32
int fd[2]
int identifiantTache()
Obtention de l'identifiant de la tâche en cours.
int basculerTache()
Basculer vers une autre tâche. On rend simplement la main, c'est du collaboratif.
int tube(int *fd)
Création d'un tube de communication.
int creerNouvelleTache(void(corps()), booleen shareCons)
Création d"une nouvelle tâche.
int appelSystemeInutile()
Un appel système sans intérêt, pour l'exemple.