Main Page | Data Structures | File List | Data Fields | Globals | Related Pages

nsutil.c File Reference

#include <stdio.h>
#include <stdarg.h>
#include <assert.h>
#include "nsutil.h"
#include <unistd.h>

Go to the source code of this file.

Functions

void rtime (time_t *t)
void updateMaxFd (int fd)
int rprintf (const char *fmt,...)
int rexit (int errcode)
void rsleep (int ms)

Variables

int max_fd = 0


Function Documentation

int rexit int  errcode  ) 
 

Definition at line 63 of file nsutil.c.

Referenced by doesMatchOpenCNV(), doesMatchP2(), main(), openSerialPort(), rbindAll(), rconnectName(), setblocking(), and setnonblocking().

int rprintf const char *  fmt,
... 
 

Definition at line 49 of file nsutil.c.

References buf.

Referenced by cmdgo(), cmdnogo(), cmdRole(), cmdSetHeader(), decodeCommand(), doesMatchOpenCNV(), doesMatchP2(), doesMatchP3(), eatCharacter(), getOK(), handleSamples(), idleHandler(), main(), makeNewEntryForFD(), my_read(), openSerialPort(), printHelp(), raccept(), rbindAll(), rconnectName(), readEDFString(), sendClientMsg(), serverDied(), setnonblocking(), showCounts(), writeBuffers(), writeBufferToFile(), and writeBytes().

void rsleep int  ms  ) 
 

Definition at line 70 of file nsutil.c.

Referenced by main(), and rconnectName().

void rtime time_t *  t  ) 
 

Definition at line 38 of file nsutil.c.

Referenced by main(), makeNewClient(), and sendClientMsg().

void updateMaxFd int  fd  ) 
 

Definition at line 43 of file nsutil.c.

References max_fd.

Referenced by idleHandler(), and main().


Variable Documentation

int max_fd = 0
 

Definition at line 36 of file nsutil.c.

Referenced by idleHandler(), main(), rselect(), rselect_timed(), updateMaxFd(), and waitForNetEvent().


Generated on Tue Feb 8 00:05:19 2005 for Neuroserver by doxygen 1.3.3