#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>Include dependency graph for OS.H:

This graph shows which files directly or indirectly include this file:

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 | OS::GetProcessSize (unsigned long &total, unsigned long &resident) throw () |
| void | OS::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 |
| 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().
Here is the call graph for this function:

Here is the caller graph for this function:

| 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().
1.5.1