vxworksHeaders.h File Reference

#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <netdb.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/time.h>
#include <unistd.h>
#include <sys/file.h>
#include <sys/socket.h>
#include <sys/errno.h>
#include <sys/wait.h>
#include <signal.h>
#include <sys/ptrace.h>
#include <sys/resource.h>
#include <stdarg.h>
#include <time.h>
#include <sys/utsname.h>
#include <sys/stat.h>
#include <sys/un.h>
#include <sys/syscall.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
#include <sys/ipc.h>
#include <sys/shm.h>

Go to the source code of this file.

Defines

#define _vxworks_headers_h
#define PDSOCKET_ERROR   (-1)
#define DMGL_PARAMS   (1 << 0)
#define DMGL_ANSI   (1 << 1)
#define DMGL_ARM   (1 << 11)

Typedefs

typedef int PDSOCKET
typedef int(* P_xdrproc_t )(XDR *,...)
typedef void(* P_sig_handler )(int)

Functions

int P_getopt (int argc, char *argv[], const char *optstring)
void P_abort (void)
int P_close (int FILEDES)
int P_dup2 (int OLD, int NEW)
int P_execvp (const char *FILENAME, char *const ARGV[])
int P_execve (const char *FILENAME, char *const ARGV[], char *const ENVP[])
void P__exit (int STATUS)
int P_fcntl (int FILEDES, int COMMAND, int ARG2)
FILE * P_fdopen (int FILEDES, const char *OPENTYPE)
FILE * P_fopen (const char *FILENAME, const char *OPENTYPE)
int P_copy (const char *from, const char *to)
int P_system (const char *string)
int P_fstat (int FILEDES, struct stat *BUF)
pid_t P_getpid ()
int P_kill (pid_t PID, int SIGNUM)
long int P_tkill (pid_t PID, int SIGNUM)
off_t P_lseek (int FILEDES, off_t OFFSET, int WHENCE)
int P_open (const char *FILENAME, int FLAGS, mode_t MODE)
int P_pclose (FILE *STREAM)
FILE * P_popen (const char *COMMAND, const char *MODE)
size_t P_read (int FILEDES, void *BUFFER, size_t SIZE)
int P_uname (struct utsname *un)
pid_t P_wait (int *status_ptr)
int P_waitpid (pid_t pid, int *statusp, int options)
size_t P_write (int FILEDES, const void *BUFFER, size_t SIZE)
int P_chdir (const char *path)
int P_putenv (char *str)
int P_getpagesize ()
int P_shmget (key_t theKey, int size, int flags)
void * P_shmat (int shmid, void *addr, int flags)
int P_shmdt (void *addr)
int P_shmctl (int shmid, int cmd, struct shmid_ds *buf)
void P_exit (int STATUS)
int P_fflush (FILE *stream)
char * P_fgets (char *S, int COUNT, FILE *STREAM)
void * P_malloc (size_t SIZE)
void * P_memcpy (void *A1, const void *A2, size_t SIZE)
void * P_memset (void *BLOCK, int C, size_t SIZE)
void P_perror (const char *MESSAGE)
P_sig_handler P_signal (int SIGNUM, P_sig_handler ACTION)
char * P_strcat (char *TO, const char *FROM)
const char * P_strchr (const char *P_STRING, int C)
char * P_strchr (char *P_STRING, int C)
int P_strcmp (const char *S1, const char *S2)
char * P_strcpy (char *TO, const char *FROM)
char * P_strdup (const char *S)
size_t P_strlen (const char *S)
char * P_strncat (char *TO, const char *FROM, size_t SIZE)
int P_strncmp (const char *S1, const char *S2, size_t SIZE)
char * P_strncpy (char *TO, const char *FROM, size_t SIZE)
const char * P_strrchr (const char *P_STRING, int C)
char * P_strrchr (char *P_STRING, int C)
const char * P_strstr (const char *HAYSTACK, const char *NEEDLE)
char * P_strstr (char *HAYSTACK, const char *NEEDLE)
double P_strtod (const char *P_STRING, char **TAILPTR)
char * P_strtok (char *NEWP_STRING, const char *DELIMITERS)
long int P_strtol (const char *P_STRING, char **TAILPTR, int BASE)
unsigned long int P_strtoul (const char *P_STRING, char **TAILPTR, int BASE)
int P_accept (int SOCK, struct sockaddr *ADDR, socklen_t *LENGTH_PTR)
int P_bind (int socket, struct sockaddr *addr, socklen_t len)
int P_connect (int socket, struct sockaddr *addr, socklen_t len)
struct hostent * P_gethostbyname (const char *NAME)
struct servent * P_getservbyname (const char *NAME, const char *PROTO)
int P_getsockname (int SOCKET, struct sockaddr *ADDR, socklen_t *LENGTH_PTR)
int P_getsockopt (int s, int level, int optname, void *optval, int *optlen)
int P_setsockopt (int s, int level, int optname, void *optval, int optlen)
int P_listen (int socket, unsigned int n)
caddr_t P_mmap (caddr_t addr, size_t len, int prot, int flags, int fd, off_t off)
int P_munmap (caddr_t addr, int i)
int P_socket (int NAMESPACE, int STYLE, int PROTOCOL)
int P_socketpair (int namesp, int style, int protocol, int filedes[2])
int P_pipe (int fds[2])
int P_strcasecmp (const char *s1, const char *s2)
int P_strncasecmp (const char *S1, const char *S2, size_t N)
void P_endservent (void)
ssize_t P_recv (int s, void *buf, int len, int flags)
long int P_ptrace (int req, pid_t pid, Address addr, Address data, int=-1)
int P_select (int wid, fd_set *rd, fd_set *wr, fd_set *ex, struct timeval *tm)
int P_rexec (char **ahost, u_short inport, char *user, char *passwd, char *cmd, int *fd2p)
char * cplus_demangle (char *, int)
void dedemangle (char *demangled, char *dedemangled)
char * P_cplus_demangle (const char *symbol, bool nativeCompiler, bool includeTypes=false)
void P_xdr_destroy (XDR *x)
bool_t P_xdr_u_char (XDR *x, u_char *uc)
bool_t P_xdr_int (XDR *x, int *i)
bool_t P_xdr_double (XDR *x, double *d)
bool_t P_xdr_u_int (XDR *x, u_int *u)
bool_t P_xdr_float (XDR *x, float *f)
bool_t P_xdr_char (XDR *x, char *c)
bool_t P_xdr_string (XDR *x, char **h, const u_int maxsize)
void P_xdrrec_create (XDR *x, const u_int send_sz, const u_int rec_sz, const caddr_t handle, xdr_rd_func read_r, xdr_wr_func write_f)
bool_t P_xdrrec_endofrecord (XDR *x, int now)
bool_t P_xdrrec_skiprecord (XDR *x)
bool_t P_xdrrec_eof (XDR *x)
int P_mkdir (const char *pathname, mode_t mode)
int P_unlink (const char *pathname)

Define Documentation

#define _vxworks_headers_h

Definition at line 33 of file vxworksHeaders.h.

#define DMGL_ANSI   (1 << 1)

Definition at line 258 of file vxworksHeaders.h.

#define DMGL_ARM   (1 << 11)

Definition at line 260 of file vxworksHeaders.h.

#define DMGL_PARAMS   (1 << 0)

Definition at line 257 of file vxworksHeaders.h.

#define PDSOCKET_ERROR   (-1)

Definition at line 65 of file vxworksHeaders.h.


Typedef Documentation

typedef void(* P_sig_handler)(int)

Definition at line 148 of file vxworksHeaders.h.

typedef int(* P_xdrproc_t)(XDR *,...)

Definition at line 67 of file vxworksHeaders.h.

typedef int PDSOCKET

Definition at line 66 of file vxworksHeaders.h.


Function Documentation

char* cplus_demangle ( char *  ,
int   
)
void dedemangle ( char *  demangled,
char *  dedemangled 
)

Definition at line 44 of file string-regex.C.

void P__exit ( int  STATUS  )  [inline]

Definition at line 88 of file vxworksHeaders.h.

void P_abort ( void   )  [inline]

Definition at line 77 of file vxworksHeaders.h.

int P_accept ( int  SOCK,
struct sockaddr *  ADDR,
socklen_t LENGTH_PTR 
) [inline]

Definition at line 186 of file vxworksHeaders.h.

int P_bind ( int  socket,
struct sockaddr *  addr,
socklen_t  len 
) [inline]

Definition at line 188 of file vxworksHeaders.h.

int P_chdir ( const char *  path  )  [inline]

Definition at line 120 of file vxworksHeaders.h.

int P_close ( int  FILEDES  )  [inline]

Definition at line 78 of file vxworksHeaders.h.

int P_connect ( int  socket,
struct sockaddr *  addr,
socklen_t  len 
) [inline]

Definition at line 190 of file vxworksHeaders.h.

int P_copy ( const char *  from,
const char *  to 
)

Definition at line 55 of file linuxKludges.C.

References P_open().

char* P_cplus_demangle ( const char *  symbol,
bool  nativeCompiler,
bool  includeTypes = false 
) [inline]

Definition at line 220 of file ntHeaders.h.

int P_dup2 ( int  OLD,
int  NEW 
) [inline]

Definition at line 81 of file vxworksHeaders.h.

void P_endservent ( void   )  [inline]

Definition at line 227 of file vxworksHeaders.h.

int P_execve ( const char *  FILENAME,
char *const   ARGV[],
char *const   ENVP[] 
) [inline]

Definition at line 84 of file vxworksHeaders.h.

int P_execvp ( const char *  FILENAME,
char *const   ARGV[] 
) [inline]

Definition at line 82 of file vxworksHeaders.h.

void P_exit ( int  STATUS  )  [inline]

Definition at line 138 of file vxworksHeaders.h.

int P_fcntl ( int  FILEDES,
int  COMMAND,
int  ARG2 
) [inline]

Definition at line 89 of file vxworksHeaders.h.

FILE* P_fdopen ( int  FILEDES,
const char *  OPENTYPE 
) [inline]

Definition at line 91 of file vxworksHeaders.h.

int P_fflush ( FILE *  stream  )  [inline]

Definition at line 139 of file vxworksHeaders.h.

char* P_fgets ( char *  S,
int  COUNT,
FILE *  STREAM 
) [inline]

Definition at line 140 of file vxworksHeaders.h.

FILE* P_fopen ( const char *  FILENAME,
const char *  OPENTYPE 
) [inline]

Definition at line 93 of file vxworksHeaders.h.

int P_fstat ( int  FILEDES,
struct stat *  BUF 
) [inline]

Definition at line 98 of file vxworksHeaders.h.

struct hostent* P_gethostbyname ( const char *  NAME  )  [read]

Definition at line 192 of file vxworksHeaders.h.

int P_getopt ( int  argc,
char *  argv[],
const char *  optstring 
) [inline]

Definition at line 74 of file solarisHeaders.h.

References optarg, and P_strlen().

int P_getpagesize (  )  [inline]

Definition at line 122 of file vxworksHeaders.h.

pid_t P_getpid ( void   )  [inline]

Definition at line 99 of file vxworksHeaders.h.

struct servent* P_getservbyname ( const char *  NAME,
const char *  PROTO 
) [read]

Definition at line 198 of file vxworksHeaders.h.

int P_getsockname ( int  SOCKET,
struct sockaddr *  ADDR,
socklen_t LENGTH_PTR 
) [inline]

Definition at line 200 of file vxworksHeaders.h.

int P_getsockopt ( int  s,
int  level,
int  optname,
void *  optval,
int *  optlen 
) [inline]

Definition at line 202 of file vxworksHeaders.h.

int P_kill ( pid_t  PID,
int  SIGNUM 
) [inline]

Definition at line 100 of file vxworksHeaders.h.

int P_listen ( int  socket,
unsigned int  n 
) [inline]

Definition at line 211 of file vxworksHeaders.h.

References listen().

off_t P_lseek ( int  FILEDES,
off_t  OFFSET,
int  WHENCE 
) [inline]

Definition at line 102 of file vxworksHeaders.h.

void* P_malloc ( size_t  SIZE  )  [inline]

Definition at line 142 of file vxworksHeaders.h.

void* P_memcpy ( void *  A1,
const void *  A2,
size_t  SIZE 
) [inline]

Definition at line 143 of file vxworksHeaders.h.

void* P_memset ( void *  BLOCK,
int  C,
size_t  SIZE 
) [inline]

Definition at line 145 of file vxworksHeaders.h.

int P_mkdir ( const char *  pathname,
mode_t  mode 
) [inline]

Definition at line 289 of file vxworksHeaders.h.

caddr_t P_mmap ( caddr_t  addr,
size_t  len,
int  prot,
int  flags,
int  fd,
off_t  off 
) [inline]

Definition at line 212 of file vxworksHeaders.h.

int P_munmap ( caddr_t  addr,
int  i 
) [inline]

Definition at line 215 of file vxworksHeaders.h.

int P_open ( const char *  FILENAME,
int  FLAGS,
mode_t  MODE 
) [inline]

Definition at line 104 of file vxworksHeaders.h.

int P_pclose ( FILE *  STREAM  )  [inline]

Definition at line 109 of file vxworksHeaders.h.

void P_perror ( const char *  MESSAGE  )  [inline]

Definition at line 147 of file vxworksHeaders.h.

int P_pipe ( int  fds[2]  )  [inline]

Definition at line 220 of file vxworksHeaders.h.

References pipe().

FILE* P_popen ( const char *  COMMAND,
const char *  MODE 
) [inline]

Definition at line 110 of file vxworksHeaders.h.

long int P_ptrace ( int  req,
pid_t  pid,
Address  addr,
Address  data,
int  = -1 
) [inline]

Definition at line 244 of file vxworksHeaders.h.

References ptrace().

int P_putenv ( char *  str  )  [inline]

Definition at line 121 of file vxworksHeaders.h.

size_t P_read ( int  FILEDES,
void *  BUFFER,
size_t  SIZE 
) [inline]

Definition at line 112 of file vxworksHeaders.h.

ssize_t P_recv ( int  s,
void *  buf,
int  len,
int  flags 
) [inline]

Definition at line 229 of file vxworksHeaders.h.

int P_rexec ( char **  ahost,
u_short  inport,
char *  user,
char *  passwd,
char *  cmd,
int *  fd2p 
) [inline]

Definition at line 252 of file vxworksHeaders.h.

References rexec().

int P_select ( int  wid,
fd_set *  rd,
fd_set *  wr,
fd_set *  ex,
struct timeval *  tm 
) [inline]

Definition at line 248 of file vxworksHeaders.h.

int P_setsockopt ( int  s,
int  level,
int  optname,
void *  optval,
int  optlen 
) [inline]

Definition at line 205 of file vxworksHeaders.h.

void* P_shmat ( int  shmid,
void *  addr,
int  flags 
) [inline]

Definition at line 129 of file vxworksHeaders.h.

int P_shmctl ( int  shmid,
int  cmd,
struct shmid_ds *  buf 
) [inline]

Definition at line 133 of file vxworksHeaders.h.

int P_shmdt ( void *  addr  )  [inline]

Definition at line 132 of file vxworksHeaders.h.

int P_shmget ( key_t  theKey,
int  size,
int  flags 
) [inline]

Definition at line 126 of file vxworksHeaders.h.

P_sig_handler P_signal ( int  SIGNUM,
P_sig_handler  ACTION 
) [inline]

Definition at line 149 of file vxworksHeaders.h.

int P_socket ( int  NAMESPACE,
int  STYLE,
int  PROTOCOL 
) [inline]

Definition at line 216 of file vxworksHeaders.h.

References socket().

int P_socketpair ( int  namesp,
int  style,
int  protocol,
int  filedes[2] 
) [inline]

Definition at line 218 of file vxworksHeaders.h.

References socketpair().

int P_strcasecmp ( const char *  s1,
const char *  s2 
) [inline]

Definition at line 221 of file vxworksHeaders.h.

References strcasecmp().

char* P_strcat ( char *  TO,
const char *  FROM 
) [inline]

Definition at line 151 of file vxworksHeaders.h.

char* P_strchr ( char *  P_STRING,
int  C 
) [inline]

Definition at line 155 of file vxworksHeaders.h.

const char* P_strchr ( const char *  P_STRING,
int  C 
) [inline]

Definition at line 154 of file vxworksHeaders.h.

int P_strcmp ( const char *  S1,
const char *  S2 
) [inline]

Definition at line 157 of file vxworksHeaders.h.

char* P_strcpy ( char *  TO,
const char *  FROM 
) [inline]

Definition at line 159 of file vxworksHeaders.h.

char* P_strdup ( const char *  S  )  [inline]

Definition at line 161 of file vxworksHeaders.h.

size_t P_strlen ( const char *  S  )  [inline]

Definition at line 162 of file vxworksHeaders.h.

int P_strncasecmp ( const char *  S1,
const char *  S2,
size_t  N 
) [inline]

Definition at line 223 of file vxworksHeaders.h.

References strncasecmp().

char* P_strncat ( char *  TO,
const char *  FROM,
size_t  SIZE 
) [inline]

Definition at line 163 of file vxworksHeaders.h.

int P_strncmp ( const char *  S1,
const char *  S2,
size_t  SIZE 
) [inline]

Definition at line 165 of file vxworksHeaders.h.

char* P_strncpy ( char *  TO,
const char *  FROM,
size_t  SIZE 
) [inline]

Definition at line 167 of file vxworksHeaders.h.

char* P_strrchr ( char *  P_STRING,
int  C 
) [inline]

Definition at line 171 of file vxworksHeaders.h.

const char* P_strrchr ( const char *  P_STRING,
int  C 
) [inline]

Definition at line 170 of file vxworksHeaders.h.

char* P_strstr ( char *  HAYSTACK,
const char *  NEEDLE 
) [inline]

Definition at line 174 of file vxworksHeaders.h.

const char* P_strstr ( const char *  HAYSTACK,
const char *  NEEDLE 
) [inline]

Definition at line 173 of file vxworksHeaders.h.

double P_strtod ( const char *  P_STRING,
char **  TAILPTR 
) [inline]

Definition at line 176 of file vxworksHeaders.h.

char* P_strtok ( char *  NEWP_STRING,
const char *  DELIMITERS 
) [inline]

Definition at line 178 of file vxworksHeaders.h.

long int P_strtol ( const char *  P_STRING,
char **  TAILPTR,
int  BASE 
) [inline]

Definition at line 180 of file vxworksHeaders.h.

unsigned long int P_strtoul ( const char *  P_STRING,
char **  TAILPTR,
int  BASE 
) [inline]

Definition at line 182 of file vxworksHeaders.h.

int P_system ( const char *  string  ) 
long int P_tkill ( pid_t  PID,
int  SIGNUM 
) [inline]

Definition at line 101 of file vxworksHeaders.h.

References SYS_tkill.

int P_uname ( struct utsname *  un  )  [inline]

Definition at line 114 of file vxworksHeaders.h.

int P_unlink ( const char *  pathname  )  [inline]

Definition at line 292 of file vxworksHeaders.h.

pid_t P_wait ( int *  status_ptr  )  [inline]

Definition at line 115 of file vxworksHeaders.h.

int P_waitpid ( pid_t  pid,
int *  statusp,
int  options 
) [inline]

Definition at line 116 of file vxworksHeaders.h.

size_t P_write ( int  FILEDES,
const void *  BUFFER,
size_t  SIZE 
) [inline]

Definition at line 118 of file vxworksHeaders.h.

bool_t P_xdr_char ( XDR *  x,
char *  c 
) [inline]

Definition at line 276 of file vxworksHeaders.h.

void P_xdr_destroy ( XDR *  x  )  [inline]

Definition at line 267 of file vxworksHeaders.h.

bool_t P_xdr_double ( XDR *  x,
double *  d 
) [inline]

Definition at line 270 of file vxworksHeaders.h.

bool_t P_xdr_float ( XDR *  x,
float *  f 
) [inline]

Definition at line 274 of file vxworksHeaders.h.

bool_t P_xdr_int ( XDR *  x,
int *  i 
) [inline]

Definition at line 269 of file vxworksHeaders.h.

bool_t P_xdr_string ( XDR *  x,
char **  h,
const u_int  maxsize 
) [inline]

Definition at line 278 of file vxworksHeaders.h.

bool_t P_xdr_u_char ( XDR *  x,
u_char *  uc 
) [inline]

Definition at line 268 of file vxworksHeaders.h.

bool_t P_xdr_u_int ( XDR *  x,
u_int *  u 
) [inline]

Definition at line 272 of file vxworksHeaders.h.

void P_xdrrec_create ( XDR *  x,
const u_int  send_sz,
const u_int  rec_sz,
const caddr_t  handle,
xdr_rd_func  read_r,
xdr_wr_func  write_f 
) [inline]

Definition at line 281 of file vxworksHeaders.h.

bool_t P_xdrrec_endofrecord ( XDR *  x,
int  now 
) [inline]

Definition at line 285 of file vxworksHeaders.h.

References xdrrec_endofrecord().

bool_t P_xdrrec_eof ( XDR *  x  )  [inline]

Definition at line 288 of file vxworksHeaders.h.

bool_t P_xdrrec_skiprecord ( XDR *  x  )  [inline]

Definition at line 287 of file vxworksHeaders.h.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1