Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

OS.H File Reference

#include <sys/types.h>
#include <errno.h>
#include <unistd.h>
#include <sys/param.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/mount.h>
#include <sys/wait.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

Go to the source code of this file.

Namespaces

namespace  OS

Typedefs

typedef int fd_t

Functions

Text inet_ntoa_r (in_addr &in)
void GetProcessSize (unsigned long &total, unsigned long &resident) throw ()
void setenv (const Text &var, const Text &val) throw ()

Variables

const fd_t NO_FD = -1
const fd_t no_fd = NO_FD
const int SYSOK = 0
const int SYSERROR = -1


Typedef Documentation

typedef int fd_t
 

Definition at line 73 of file OS.H.


Function Documentation

void OS::GetProcessSize unsigned long &  total,
unsigned long &  resident
throw ()
 

Referenced by CacheS::GetCacheState(), and main().

Text inet_ntoa_r in_addr &  in  ) 
 

Definition at line 42 of file OS.C.

References Basics::mutex::lock(), and Basics::mutex::unlock().

Referenced by TCP_sock::connect_to(), SRPC::local_socket(), main(), MastershipInit1(), TCP_sock::new_socket(), SRPC::remote_socket(), and TCP_sock::wait_for_connect().

void OS::setenv const Text var,
const Text val
throw ()
 


Variable Documentation

const fd_t no_fd = NO_FD
 

Definition at line 76 of file OS.H.

const fd_t NO_FD = -1
 

Definition at line 75 of file OS.H.

Referenced by req_data::req_data(), and std_info::std_info().

const int SYSERROR = -1
 

Definition at line 79 of file OS.H.

Referenced by TCP_sock::alert(), TCP_sock::alive(), TCP_sock::configure_blocking(), TCP_sock::controlled_wait(), TCP_sock::enable_alerts(), TCP_sock::fill_rcvbuffer(), TCP_sock::get_keepalive(), TCP_sock::host_to_addr(), TCP_sock::init(), init_repository_access(), main(), TCP_sock::new_socket(), RunToolServerInit(), TCP_sock::send_data(), TCP_sock::set_keepalive(), TCP_sock::set_no_delay(), TCP_sock::set_waiters(), TCP_sock::TCP_sock(), children::wait_for(), TCP_sock::wait_for_connect(), and TCP_sock::~TCP_sock().

const int SYSOK = 0
 

Definition at line 78 of file OS.H.

Referenced by TCP_sock::host_to_addr(), and TCP_sock::parse_port().


Generated on Mon May 8 00:49:00 2006 for Vesta by  doxygen 1.4.2