APE Globals
Annotated List
Files
Globals
Hierarchy
Index
file.h
typedef unsigned long
pos_t
enum
{FILE_OPEN_READONLY = O_RDONLY, FILE_OPEN_WRITEONLY = O_WRONLY, FILE_OPEN_READWRITE = O_RDWR, FILE_OPEN_APPEND = O_WRONLY | O_APPEND, FILE_OPEN_SYNC = O_RDWR | O_SYNC, FILE_OPEN_SYNC = O_RDWR, FILE_OPEN_TRUNCATE = O_RDWR | O_TRUNC }
enum
{FILE_MAPPED_READ = O_RDONLY, FILE_MAPPED_WRITE = O_WRONLY, FILE_MAPPED_RDWR = O_RDWR }
enum
{FILE_PERM_PRIVATE = S_IRUSR | S_IWUSR, FILE_PERM_GROUP = FILE_PERM_PRIVATE | S_IRGRP | S_IWGRP, FILE_PERM_PUBLIC = FILE_PERM_GROUP | S_IROTH | S_IWOTH }
inline int
clear
(LockedFile &f, pos_t pos, size_t len)
inline int
append
(LockedFile &f, void *buf, size_t len)
inline int
request
(LockedFile &f, pos_t pos, void *buf, size_t len)
inline int
update
(LockedFile &f, pos_t pos, void *buf, size_t len)
serial.h
inline int
inkey
(Serial &s, timeout_t timer = 0)
inline int
read
(Serial &s, void *buf, size_t len, timeout_t timer = 0)
inline int
readline
(Serial &s, char *buf, size_t max, timeout_t timer = 0)
socket.h
enum
{SOCKET_COMPLETION_IMMEDIATE, SOCKET_COMPLETION_DELAYED }
enum
{SOCKET_INITIAL, SOCKET_AVAILABLE, SOCKET_BOUND, SOCKET_CONNECTED, SOCKET_CONNECTING }
inline struct in_addr
getaddress
(InetAddress &ia)
thread.h
typedef pthread_t
tid_t
typedef unsigned long
timeout_t
typedef int
signo_t
enum
{THREAD_CANCEL_INITIAL=0, THREAD_CANCEL_DEFERRED=1, THREAD_CANCEL_IMMEDIATE, THREAD_CANCEL_DISABLED, THREAD_CANCEL_DEFAULT=THREAD_CANCEL_DEFERRED }
enum
{THREAD_SUSPEND_ENABLE, THREAD_SUSPEND_DISABLE }
Thread *
getAPE
(void)
inline void *
getKey
(ThreadKey &tk)
inline void
setKey
(ThreadKey &tk, void *ptr)
inline void
operator ++
(Mutex &m)
inline void
operator --
(Mutex &m)
inline void
operator ++
(Semaphore &s)
inline void
operator --
(Semaphore &s)
inline void
operator ++
(Event &s)
inline void
operator --
(Event &s)
inline void
signal
(Thread &th, int signo)
inline void
signal
(Event &ev)
inline void
signal
(Semaphore &sem)
inline void
wait
(Semaphore &sem)
inline void
wait
(Event &ev, timeout_t timer)
inline void
reset
(Event &ev)
inline int
get
(Buffer &b, void *o)
inline int
put
(Buffer &b, void *o)
inline int
peek
(Buffer &b, void *o)
int
operator++
(MutexCounter &mc)
int
operator--
(MutexCounter &mc)
void
ape_sleep
(timeout_t msec)
void
ape_yield
(void)
void
wait
(signo_t signo)
void
pdetach
(void)
Generated by: dyfet@home.sys on Wed Dec 1 16:09:46 199.