Page principale | Liste des namespaces | Hiérarchie des classes | Liste des classes | Répertoires | Liste des fichiers | Membres de namespace | Membres de classe | Membres de fichier

Référence du fichier sysdep.h

#include "copyright.h"
#include "iostream.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"

Graphe des dépendances par inclusion de sysdep.h:

Ce graphe montre quels fichiers incluent directement ou indirectement ce fichier:

Aller au code source de ce fichier.

Fonctions

void Abort ()
void Exit (int exitCode)
void Delay (int seconds)
void UDelay (unsigned int usec)
void CallOnUserAbort (void(*cleanup)(int))
void RandomInit (unsigned seed)
unsigned int RandomNumber ()
char * AllocBoundedArray (int size)
void DeallocBoundedArray (char *p, int size)
bool PollFile (int fd)
int OpenForWrite (char *name)
int OpenForReadWrite (char *name, bool crashOnError)
void Read (int fd, char *buffer, int nBytes)
int ReadPartial (int fd, char *buffer, int nBytes)
void WriteFile (int fd, char *buffer, int nBytes)
void Lseek (int fd, int offset, int whence)
int Tell (int fd)
int Close (int fd)
bool Unlink (char *name)
int atoi (const char *str)
double atof (const char *str)
int abs (int i)
void bcopy (const void *s1, void *s2, size_t n)
void bzero (void *s, size_t n)
int OpenSocket ()
void CloseSocket (int sockID)
void AssignNameToSocket (char *socketName, int sockID)
void DeAssignNameToSocket (char *socketName)
bool PollSocket (int sockID)
void ReadFromSocket (int sockID, char *buffer, int packetSize)
void SendToSocket (int sockID, char *buffer, int packetSize, char *toName)


Documentation des fonctions

void Abort (   ) 
 

Définition à la ligne 169 du fichier sysdep.cc.

int abs (  int  i  ) 
 

char* AllocBoundedArray (  int  size  ) 
 

Définition à la ligne 221 du fichier sysdep.cc.

Références getpagesize(), et mprotect().

Référencé par Thread::StackAllocate().

Voici le graphe d'appel pour cette fonction:

void AssignNameToSocket (  char *  socketName,
int  sockID
) 
 

Définition à la ligne 482 du fichier sysdep.cc.

Références ASSERT, dbgNet, DEBUG, et InitSocketName().

Voici le graphe d'appel pour cette fonction:

double atof (  const char *  str  ) 
 

Référencé par Kernel::Kernel().

int atoi (  const char *  str  ) 
 

Référencé par HashKey(), et Kernel::Kernel().

void bcopy (  const void *  s1,
void *  s2,
size_t  n
) 
 

Référencé par OpenFile::ReadAt(), et OpenFile::WriteAt().

void bzero (  void *  s,
size_t  n
) 
 

Référencé par AddrSpace::AddrSpace().

void CallOnUserAbort (  void(*)(int)  cleanup  ) 
 

Définition à la ligne 116 du fichier sysdep.cc.

Référencé par main().

int Close (  int  fd  ) 
 

Définition à la ligne 416 du fichier sysdep.cc.

void CloseSocket (  int  sockID  ) 
 

Définition à la ligne 458 du fichier sysdep.cc.

void DeallocBoundedArray (  char *  p,
int  size
) 
 

Définition à la ligne 251 du fichier sysdep.cc.

Références getpagesize(), et mprotect().

Référencé par Thread::~Thread().

Voici le graphe d'appel pour cette fonction:

void DeAssignNameToSocket (  char *  socketName  ) 
 

Définition à la ligne 500 du fichier sysdep.cc.

void Delay (  int  seconds  ) 
 

Définition à la ligne 141 du fichier sysdep.cc.

Références sleep().

Référencé par SendToSocket().

Voici le graphe d'appel pour cette fonction:

void Exit (  int  exitCode  ) 
 

Définition à la ligne 180 du fichier sysdep.cc.

void Lseek (  int  fd,
int  offset,
int  whence
) 
 

Définition à la ligne 387 du fichier sysdep.cc.

Références ASSERT.

Référencé par Copy().

int OpenForReadWrite (  char *  name,
bool  crashOnError
) 
 

Définition à la ligne 336 du fichier sysdep.cc.

Références ASSERT.

Référencé par Copy().

int OpenForWrite (  char *  name  ) 
 

Définition à la ligne 319 du fichier sysdep.cc.

Références ASSERT.

int OpenSocket (   ) 
 

Définition à la ligne 442 du fichier sysdep.cc.

Références ASSERT, et socket().

Voici le graphe d'appel pour cette fonction:

bool PollFile (  int  fd  ) 
 

Définition à la ligne 271 du fichier sysdep.cc.

Références ASSERT, FALSE, select(), et TRUE.

Référencé par PollSocket().

Voici le graphe d'appel pour cette fonction:

bool PollSocket (  int  sockID  ) 
 

Définition à la ligne 511 du fichier sysdep.cc.

Références PollFile().

Voici le graphe d'appel pour cette fonction:

void RandomInit (  unsigned  seed  ) 
 

Définition à la ligne 192 du fichier sysdep.cc.

Référencé par Kernel::Kernel().

unsigned int RandomNumber (   ) 
 

Définition à la ligne 203 du fichier sysdep.cc.

void Read (  int  fd,
char *  buffer,
int  nBytes
) 
 

Définition à la ligne 350 du fichier sysdep.cc.

Références ASSERT.

void ReadFromSocket (  int  sockID,
char *  buffer,
int  packetSize
) 
 

Définition à la ligne 521 du fichier sysdep.cc.

Références ASSERT.

int ReadPartial (  int  fd,
char *  buffer,
int  nBytes
) 
 

Définition à la ligne 363 du fichier sysdep.cc.

Référencé par Copy().

void SendToSocket (  int  sockID,
char *  buffer,
int  packetSize,
char *  toName
) 
 

Définition à la ligne 560 du fichier sysdep.cc.

Références ASSERT, Delay(), et InitSocketName().

Voici le graphe d'appel pour cette fonction:

int Tell (  int  fd  ) 
 

Définition à la ligne 399 du fichier sysdep.cc.

Référencé par Copy().

void UDelay (  unsigned int  usec  ) 
 

Définition à la ligne 153 du fichier sysdep.cc.

bool Unlink (  char *  name  ) 
 

Définition à la ligne 429 du fichier sysdep.cc.

void WriteFile (  int  fd,
char *  buffer,
int  nBytes
) 
 

Définition à la ligne 375 du fichier sysdep.cc.

Références ASSERT.


Généré le Sun Jan 15 00:47:12 2006 pour Système NachOS : par  doxygen 1.4.4