#include "copyright.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
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) |
void | Close (int fd) |
bool | Unlink (char *name) |
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) |
void | Abort () |
void | Exit (int exitCode) |
void | Delay (int seconds) |
void | CallOnUserAbort (VoidNoArgFunctionPtr cleanUp) |
void | RandomInit (unsigned seed) |
int | Random () |
char * | AllocBoundedArray (int size) |
void | DeallocBoundedArray (char *p, int size) |
|
Definition at line 417 of file sysdep.cc.
|
|
Definition at line 469 of file sysdep.cc.
|
|
Definition at line 312 of file sysdep.cc. References ASSERT, and DEBUG(). Referenced by Network::Network().
|
|
Definition at line 393 of file sysdep.cc. References VoidFunctionPtr, and VoidNoArgFunctionPtr. Referenced by Initialize().
|
|
Definition at line 247 of file sysdep.cc. References ASSERT. Referenced by Console::~Console(), and Disk::~Disk().
|
|
Definition at line 288 of file sysdep.cc. Referenced by Network::~Network().
|
|
Definition at line 488 of file sysdep.cc. Referenced by Thread::~Thread().
|
|
Definition at line 330 of file sysdep.cc. Referenced by Network::~Network().
|
|
Definition at line 406 of file sysdep.cc. Referenced by main().
|
|
Definition at line 428 of file sysdep.cc. Referenced by Cleanup().
|
|
Definition at line 219 of file sysdep.cc. References ASSERT. Referenced by Disk::Disk(), Disk::ReadRequest(), and Disk::WriteRequest().
|
|
Definition at line 168 of file sysdep.cc. References ASSERT. Referenced by Console::Console(), and Disk::Disk().
|
|
Definition at line 151 of file sysdep.cc. References ASSERT. Referenced by Console::Console(), and Disk::Disk().
|
|
Definition at line 272 of file sysdep.cc. References ASSERT. Referenced by Network::Network().
|
|
Definition at line 117 of file sysdep.cc. References ASSERT, FALSE, Interrupt::getStatus(), IdleMode, interrupt, and TRUE. Referenced by Console::CheckCharAvail(), and PollSocket().
|
|
Definition at line 341 of file sysdep.cc. References PollFile(). Referenced by Network::CheckPktAvail().
|
|
Definition at line 451 of file sysdep.cc. Referenced by Network::Send(), and Timer::TimeOfNextInterrupt().
|
|
Definition at line 440 of file sysdep.cc. Referenced by Initialize().
|
|
Definition at line 182 of file sysdep.cc. References ASSERT. Referenced by Console::CheckCharAvail(), Disk::Disk(), and Disk::ReadRequest().
|
|
Definition at line 351 of file sysdep.cc. References ASSERT. Referenced by Network::CheckPktAvail().
|
|
Definition at line 195 of file sysdep.cc.
|
|
Definition at line 375 of file sysdep.cc. References ASSERT. Referenced by Network::Send().
|
|
Definition at line 231 of file sysdep.cc.
|
|
Definition at line 259 of file sysdep.cc.
|
|
Definition at line 207 of file sysdep.cc. References ASSERT. Referenced by Disk::Disk(), Console::PutChar(), and Disk::WriteRequest().
|