os_types.h File Reference

#include "ace/config-lite.h"
#include "ace/os_include/os_stddef.h"

Include dependency graph for os_types.h:

Include dependency graph

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

Included by dependency graph

Go to the source code of this file.

Defines

#define CLOCK_REALTIME   0
#define ACE_INVALID_PID   ((pid_t) -1)

Typedefs

typedef double ACE_timer_t
typedef int clockid_t
typedef off_t ACE_OFF_T
typedef loff_t ACE_LOFF_T
typedef DWORD nlink_t
typedef int mode_t
typedef long uid_t
typedef long gid_t
typedef char * caddr_t
typedef int ssize_t
typedef DWORD ACE_exitcode
typedef long pid_t


Detailed Description

data types

Id
os_types.h 78593 2007-06-27 06:10:37Z johnnyw

Author:
Don Hinton <dhinton@dresystems.com>

This code was originally in various places including ace/OS.h.

Definition in file os_types.h.


Define Documentation

#define ACE_INVALID_PID   ((pid_t) -1)
 

Definition at line 149 of file os_types.h.

Referenced by ACE_Process::ACE_Process(), ACE_Process_Options::ACE_Process_Options(), ACE_Process_Manager::handle_signal(), ACE_Process_Manager::register_handler(), ACE_Process::running(), ACE_Process_Manager::set_scheduler(), ACE_Process_Manager::spawn(), ACE_Process::spawn(), ACE_Process_Manager::spawn_n(), ACE_Process_Manager::wait(), and ACE_Process::wait().

#define CLOCK_REALTIME   0
 

Definition at line 54 of file os_types.h.

Referenced by ACE_OS::gethrtime(), and ACE_OS::gettimeofday().


Typedef Documentation

typedef DWORD ACE_exitcode
 

Definition at line 131 of file os_types.h.

Referenced by ACE_Process::exit_code(), ACE::fork(), ACE_Process_Manager::handle_signal(), ACE_Process_Manager::notify_proc_handler(), ACE_Process_Manager::reap(), ACE_Process_Manager::wait(), ACE_Process::wait(), ACE_OS::wait(), and ACE_OS::waitpid().

typedef loff_t ACE_LOFF_T
 

Definition at line 97 of file os_types.h.

typedef off_t ACE_OFF_T
 

Definition at line 78 of file os_types.h.

Referenced by ACE_Filecache_Object::ACE_Filecache_Object(), ACE_Mem_Map::ACE_Mem_Map(), ACE_Shared_Memory_MM::ACE_Shared_Memory_MM(), ACE_Shared_Memory_Pool_Options::ACE_Shared_Memory_Pool_Options(), ACE_Shared_Memory_Pool::acquire(), ACE_File_Lock::acquire(), ACE_File_Lock::acquire_read(), ACE_File_Lock::acquire_write(), ACE_Shared_Memory_Pool::commit_backing_store_name(), ACE_Filecache::create(), ACE_Filecache::fetch(), ACE_OS::filesize(), ACE_Shared_Memory_Pool::find_seg(), ACE_Filecache::finish(), ACE_OS::flock_adjust_params(), ACE_OS::flock_rdlock(), ACE_OS::flock_tryrdlock(), ACE_OS::flock_trywrlock(), ACE_OS::flock_unlock(), ACE_OS::flock_wrlock(), ACE_OS::ftruncate(), ACE_Shared_Memory_Pool::handle_signal(), ACE_Shared_Memory_Pool::in_use(), ACE_Shared_Memory_Pool::init_acquire(), ACE_MEM_Acceptor::init_buffer_size(), ACE_OS::lseek(), ACE_Mem_Map::map(), ACE_Mem_Map::map_it(), ACE_OS::mmap(), ACE_Shared_Memory_MM::open(), ACE_OS::pread(), ACE_OS::pwrite(), ACE_File_Lock::release(), ACE_Filecache::remove(), ACE_FILE::seek(), ACE_OS::truncate(), ACE_FILE::truncate(), ACE_File_Lock::tryacquire(), ACE_File_Lock::tryacquire_read(), ACE_File_Lock::tryacquire_write(), and ACE_File_Lock::tryacquire_write_upgrade().

typedef double ACE_timer_t
 

Definition at line 48 of file os_types.h.

typedef char* caddr_t
 

Definition at line 109 of file os_types.h.

Referenced by ACE_Mem_Map::advise(), ACE::count_interfaces(), ACE::get_bcast_addr(), ACE::get_ip_interfaces(), ACE_OS::madvise(), and ACE_SOCK_Dgram_Bcast::mk_broadcast().

typedef int clockid_t
 

Definition at line 52 of file os_types.h.

Referenced by ACE_OS::clock_gettime(), and ACE_OS::clock_settime().

typedef long gid_t
 

Definition at line 107 of file os_types.h.

Referenced by ACE_SPIPE_Addr::ACE_SPIPE_Addr(), ACE_OS::getegid(), ACE_OS::getgid(), ACE_SPIPE_Addr::group_id(), ACE_SPIPE_Addr::set(), ACE_OS::setegid(), ACE_OS::setgid(), and ACE_OS::setregid().

typedef int mode_t
 

Definition at line 104 of file os_types.h.

Referenced by ACE_FIFO::ACE_FIFO(), ACE_FIFO_Recv::ACE_FIFO_Recv(), ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg(), ACE_FIFO_Send::ACE_FIFO_Send(), ACE_FIFO_Send_Msg::ACE_FIFO_Send_Msg(), ACE_File_Lock::ACE_File_Lock(), ACE_Mem_Map::ACE_Mem_Map(), ACE_MMAP_Memory_Pool_Options::ACE_MMAP_Memory_Pool_Options(), ACE_Mutex::ACE_Mutex(), ACE_Process_Mutex::ACE_Process_Mutex(), ACE_RW_Process_Mutex::ACE_RW_Process_Mutex(), ACE_SV_Semaphore_Complex::ACE_SV_Semaphore_Complex(), ACE_SV_Semaphore_Simple::ACE_SV_Semaphore_Simple(), ACE_OS::creat(), ACE_OS::flock_init(), ACE_Mem_Map::map(), ACE_OS::mkdir(), ACE_OS::mkfifo(), ACE_SV_Semaphore_Simple::open(), ACE_SV_Semaphore_Complex::open(), ACE_OS::open(), ACE_Mem_Map::open(), ACE_File_Lock::open(), ACE_FIFO_Send_Msg::open(), ACE_FIFO_Send::open(), ACE_FIFO_Recv_Msg::open(), ACE_FIFO_Recv::open(), ACE_FIFO::open(), ACE_OS::sema_init(), ACE_OS::shm_open(), and ACE_OS::umask().

typedef DWORD nlink_t
 

Definition at line 102 of file os_types.h.

typedef long pid_t
 

Definition at line 145 of file os_types.h.

Referenced by ACE_Process::child(), ACE::daemonize(), ACE_Process_Manager::find_proc(), ACE_OS::fork(), ACE::fork(), ACE_OS::fork_exec(), ACE_OS::getpgid(), ACE_OS::getppid(), ACE_Process_Manager::handle_signal(), ACE_OS::kill(), ACE_Process::parent(), ACE::process_active(), ACE_Process_Manager::reap(), ACE_SPIPE_Stream::recv_handle(), ACE_Process_Manager::register_handler(), ACE_Process_Manager::remove(), ACE_Process_Manager::set_scheduler(), ACE_Process_Manager::set_scheduler_all(), ACE_Process_Options::setgroup(), ACE_OS::setpgid(), ACE_Process_Manager::spawn(), ACE_Process_Manager::spawn_n(), ACE_Process_Manager::terminate(), ACE::terminate_process(), ACE_Process_Manager::wait(), ACE_Process::wait(), ACE_OS::wait(), and ACE_OS::waitpid().

typedef int ssize_t
 

Definition at line 126 of file os_types.h.

Referenced by ACE_Hash_Map_Const_Iterator_Base_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::ACE_Hash_Map_Const_Iterator_Base_Ex(), ACE_Hash_Map_Iterator_Base_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::ACE_Hash_Map_Iterator_Base_Ex(), ACE_Hash_Multi_Map_Const_Iterator_Base< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::ACE_Hash_Multi_Map_Const_Iterator_Base(), ACE_Hash_Multi_Map_Iterator_Base< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::ACE_Hash_Multi_Map_Iterator_Base(), ACE_Timer_Heap_T< TYPE, FUNCTOR, ACE_LOCK >::ACE_Timer_Heap_T(), ACE_Timer_Heap_T< TYPE, FUNCTOR, ACE_LOCK >::cancel(), ACE_UPIPE_Connector::connect(), ACE_Hash_Multi_Map_Const_Iterator_Base< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::done(), ACE_Hash_Map_Const_Iterator_Base_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::done(), ACE_Buffered_Svc_Handler<, >::flush_i(), ACE_Hash_Multi_Map_Const_Iterator_Base< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::forward_i(), ACE_Hash_Map_Const_Iterator_Base_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::forward_i(), ACE_Utils::UUID::from_string_i(), ACE_Timer_Heap_T< TYPE, FUNCTOR, ACE_LOCK >::grow_heap(), ACE_Service_Manager::handle_input(), ACE_Process_Manager::handle_signal(), ACE_Fixed_Set< T, ACE_SIZE >::insert(), ACE_Service_Manager::list_services(), ACE_Log_Msg::log(), ACE_Hash_Multi_Map_Const_Iterator_Base< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::next(), ACE_Hash_Map_Const_Iterator_Base_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::next(), ACE_Select_Reactor_T< ACE_SELECT_REACTOR_TOKEN >::notify(), ACE_Select_Reactor_Notify::notify(), ACE_OS::pread(), ACE_Shared_Memory_Pool::protect(), ACE_Sbrk_Memory_Pool::protect(), ACE_Malloc_T< ACE_MEM_POOL_2, ACE_LOCK, ACE_CB >::protect(), ACE_Allocator_Adapter< MALLOC >::protect(), ACE_Static_Allocator_Base::protect(), ACE_New_Allocator::protect(), ACE_Local_Memory_Pool::protect(), ACE_OS::putmsg(), ACE_OS::pwrite(), ACE_OS::read(), ACE_OS::read_n(), ACE_Select_Reactor_Notify::read_notify_pipe(), ACE_OS::readlink(), ACE_OS::readv(), ACE::readv_n(), ACE_SPIPE_Stream::recv(), ACE_SOCK_IO::recv(), ACE_SOCK_Dgram::recv(), ACE_Pipe::recv(), ACE_OS::recv(), ACE_SOCK_Dgram_SC< STREAM >::recv(), ACE_Streambuf_T< STREAM >::recv(), ACE_FILE_IO::recv(), ACE_FIFO_Recv_Msg::recv(), ACE_DEV_IO::recv(), ACE::recv(), ACE_SPIPE_Stream::recv_handle(), ACE_UPIPE_Stream::recv_n(), ACE_SOCK_Dgram_SC< STREAM >::recv_n(), ACE_Streambuf_T< STREAM >::recv_n(), ACE::recv_n(), ACE::recv_n_i(), ACE_Name_Proxy::recv_reply(), ACE_OS::recvfrom(), ACE::recvfrom(), ACE_OS::recvmsg(), ACE::recvmsg(), ACE_SOCK_IO::recvv(), ACE_OS::recvv(), ACE::recvv(), ACE::recvv_n_i(), ACE_Process_Manager::register_handler(), ACE_Process_Manager::remove(), ACE_Remote_Token_Proxy::request_reply(), ACE_Name_Proxy::request_reply(), ACE_Timer_Heap_T< TYPE, FUNCTOR, ACE_LOCK >::reset_interval(), ACE_Hash_Multi_Map_Const_Iterator_Base< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::reverse_i(), ACE_Hash_Map_Const_Iterator_Base_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::reverse_i(), ACE_SPIPE_Stream::send(), ACE_SOCK_IO::send(), ACE_SOCK_Dgram_Bcast::send(), ACE_SOCK_Dgram::send(), ACE_Pipe::send(), ACE_OS::send(), ACE_Streambuf_T< STREAM >::send(), ACE_FILE_IO::send(), ACE_FIFO_Send_Msg::send(), ACE_DEV_IO::send(), ACE::send(), ACE_SPIPE_Stream::send_handle(), ACE_UPIPE_Stream::send_n(), ACE_SOCK_Dgram_SC< STREAM >::send_n(), ACE::send_n(), ACE::send_n_i(), ACE_Name_Proxy::send_request(), ACE_OS::sendfile_emulation(), ACE_OS::sendmsg(), ACE::sendmsg(), ACE_OS::sendto(), ACE::sendto(), ACE_OS::sendv(), ACE::sendv(), ACE::sendv_n_i(), ACE_Process_Manager::set_scheduler(), ACE_OS::swab(), ACE_Shared_Memory_Pool::sync(), ACE_Sbrk_Memory_Pool::sync(), ACE_Malloc_T< ACE_MEM_POOL_2, ACE_LOCK, ACE_CB >::sync(), ACE_Allocator_Adapter< MALLOC >::sync(), ACE_Static_Allocator_Base::sync(), ACE_New_Allocator::sync(), ACE_Local_Memory_Pool::sync(), ACE::t_rcv(), ACE::t_rcv_n_i(), ACE::t_snd(), ACE::t_snd_n_i(), ACE_Process_Manager::terminate(), ACE_Mem_Map::unmap(), ACE_Process_Manager::wait(), ACE_OS::write(), ACE_OS::write_n(), ACE::write_n(), ACE_OS::writev(), and ACE::writev_n().

typedef long uid_t
 

Definition at line 106 of file os_types.h.

Referenced by ACE_Process_Options::ACE_Process_Options(), ACE_SPIPE_Addr::ACE_SPIPE_Addr(), ACE_OS::geteuid(), ACE_OS::getuid(), ACE_SPIPE_Addr::set(), ACE_OS::seteuid(), ACE_OS::setreuid(), ACE_OS::setuid(), ACE_Process::spawn(), and ACE_SPIPE_Addr::user_id().


Generated on Sun Jan 27 12:46:17 2008 for ACE by doxygen 1.3.6