solarisHeaders.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/resource.h>
#include <stdarg.h>
#include <time.h>
#include <sys/utsname.h>
#include <sys/stat.h>
#include <sys/un.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <demangle.h>

Go to the source code of this file.

Defines

#define _solaris_headers_h
#define PDSOCKET_ERROR   (-1)

Typedefs

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

Functions

int rexec (char **, unsigned short, const char *, const char *, const char *, int *)
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_fstat (int FILEDES, struct stat *BUF)
pid_t P_getpid ()
int P_kill (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_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, size_t *LENGTH_PTR)
int P_bind (int socket, struct sockaddr *addr, size_t len)
int P_connect (int socket, struct sockaddr *addr, size_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, size_t *LENGTH_PTR)
int P_getsockopt (int s, int level, int optname, void *optval, unsigned 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)
int P_getpagesize ()
int P_recv (int s, void *buf, size_t len, int flags)
int P_ptrace (int req, pid_t pid, int addr, int data, int)
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 * nativeDemanglerBrokenness (int(*P_native_demangle)(const char *, char *, size_t), char *symbol)
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)

Variables

const char * sys_errlist []
int(* P_native_demangle )(const char *, char *, size_t)

Define Documentation

#define _solaris_headers_h

Definition at line 33 of file solarisHeaders.h.

#define PDSOCKET_ERROR   (-1)

Definition at line 63 of file solarisHeaders.h.


Typedef Documentation

typedef void(* P_sig_handler)(int)

Definition at line 137 of file solarisHeaders.h.

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

Definition at line 65 of file solarisHeaders.h.

typedef int PDSOCKET

Definition at line 64 of file solarisHeaders.h.


Function Documentation

void dedemangle ( char *  demangled,
char *  dedemangled 
)

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

char* nativeDemanglerBrokenness ( int(*)(const char *, char *, size_t)  P_native_demangle,
char *  symbol 
) [inline]

Definition at line 252 of file solarisHeaders.h.

Referenced by P_cplus_demangle().

void P__exit ( int  STATUS  )  [inline]

Definition at line 84 of file solarisHeaders.h.

void P_abort ( void   )  [inline]

Definition at line 75 of file solarisHeaders.h.

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

Definition at line 176 of file solarisHeaders.h.

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

Definition at line 178 of file solarisHeaders.h.

int P_chdir ( const char *  path  )  [inline]

Definition at line 109 of file solarisHeaders.h.

int P_close ( int  FILEDES  )  [inline]

Definition at line 76 of file solarisHeaders.h.

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

Definition at line 180 of file solarisHeaders.h.

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

Definition at line 77 of file solarisHeaders.h.

void P_endservent ( void   )  [inline]

Definition at line 217 of file solarisHeaders.h.

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

Definition at line 80 of file solarisHeaders.h.

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

Definition at line 78 of file solarisHeaders.h.

void P_exit ( int  STATUS  )  [inline]

Definition at line 127 of file solarisHeaders.h.

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

Definition at line 85 of file solarisHeaders.h.

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

Definition at line 87 of file solarisHeaders.h.

int P_fflush ( FILE *  stream  )  [inline]

Definition at line 128 of file solarisHeaders.h.

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

Definition at line 129 of file solarisHeaders.h.

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

Definition at line 89 of file solarisHeaders.h.

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

Definition at line 91 of file solarisHeaders.h.

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

Definition at line 182 of file solarisHeaders.h.

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

Definition at line 74 of file solarisHeaders.h.

int P_getpagesize (  )  [inline]

Definition at line 218 of file solarisHeaders.h.

pid_t P_getpid ( void   )  [inline]

Definition at line 92 of file solarisHeaders.h.

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

Definition at line 188 of file solarisHeaders.h.

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

Definition at line 190 of file solarisHeaders.h.

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

Definition at line 192 of file solarisHeaders.h.

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

Definition at line 93 of file solarisHeaders.h.

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

Definition at line 203 of file solarisHeaders.h.

References listen().

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

Definition at line 94 of file solarisHeaders.h.

void* P_malloc ( size_t  SIZE  )  [inline]

Definition at line 131 of file solarisHeaders.h.

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

Definition at line 39 of file bg_compute_headers.h.

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

Definition at line 133 of file solarisHeaders.h.

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

Definition at line 370 of file solarisHeaders.h.

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

Definition at line 204 of file solarisHeaders.h.

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

Definition at line 207 of file solarisHeaders.h.

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

Definition at line 96 of file solarisHeaders.h.

int P_pclose ( FILE *  STREAM  )  [inline]

Definition at line 98 of file solarisHeaders.h.

void P_perror ( const char *  MESSAGE  )  [inline]

Definition at line 135 of file solarisHeaders.h.

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

Definition at line 212 of file solarisHeaders.h.

References pipe().

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

Definition at line 99 of file solarisHeaders.h.

int P_ptrace ( int  req,
pid_t  pid,
int  addr,
int  data,
int   
) [inline]

Definition at line 225 of file solarisHeaders.h.

References ptrace().

int P_putenv ( char *  str  )  [inline]

Definition at line 110 of file solarisHeaders.h.

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

Definition at line 101 of file solarisHeaders.h.

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

Definition at line 219 of file solarisHeaders.h.

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

Definition at line 232 of file solarisHeaders.h.

References rexec().

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

Definition at line 228 of file solarisHeaders.h.

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

Definition at line 197 of file solarisHeaders.h.

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

Definition at line 118 of file solarisHeaders.h.

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

Definition at line 122 of file solarisHeaders.h.

int P_shmdt ( void *  addr  )  [inline]

Definition at line 121 of file solarisHeaders.h.

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

Definition at line 115 of file solarisHeaders.h.

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

Definition at line 139 of file solarisHeaders.h.

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

Definition at line 208 of file solarisHeaders.h.

References socket().

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

Definition at line 210 of file solarisHeaders.h.

References socketpair().

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

Definition at line 213 of file solarisHeaders.h.

References strcasecmp().

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

Definition at line 141 of file solarisHeaders.h.

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

Definition at line 145 of file solarisHeaders.h.

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

Definition at line 144 of file solarisHeaders.h.

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

Definition at line 147 of file solarisHeaders.h.

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

Definition at line 149 of file solarisHeaders.h.

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

Definition at line 151 of file solarisHeaders.h.

size_t P_strlen ( const char *  S  )  [inline]

Definition at line 152 of file solarisHeaders.h.

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

Definition at line 215 of file solarisHeaders.h.

References strncasecmp().

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

Definition at line 153 of file solarisHeaders.h.

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

Definition at line 155 of file solarisHeaders.h.

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

Definition at line 157 of file solarisHeaders.h.

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

Definition at line 161 of file solarisHeaders.h.

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

Definition at line 160 of file solarisHeaders.h.

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

Definition at line 164 of file solarisHeaders.h.

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

Definition at line 163 of file solarisHeaders.h.

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

Definition at line 166 of file solarisHeaders.h.

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

Definition at line 168 of file solarisHeaders.h.

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

Definition at line 170 of file solarisHeaders.h.

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

Definition at line 172 of file solarisHeaders.h.

int P_uname ( struct utsname *  un  )  [inline]

Definition at line 103 of file solarisHeaders.h.

int P_unlink ( const char *  pathname  )  [inline]

Definition at line 373 of file solarisHeaders.h.

pid_t P_wait ( int *  status_ptr  )  [inline]

Definition at line 104 of file solarisHeaders.h.

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

Definition at line 105 of file solarisHeaders.h.

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

Definition at line 107 of file solarisHeaders.h.

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

Definition at line 351 of file solarisHeaders.h.

void P_xdr_destroy ( XDR *  x  )  [inline]

Definition at line 342 of file solarisHeaders.h.

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

Definition at line 345 of file solarisHeaders.h.

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

Definition at line 349 of file solarisHeaders.h.

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

Definition at line 344 of file solarisHeaders.h.

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

Definition at line 353 of file solarisHeaders.h.

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

Definition at line 343 of file solarisHeaders.h.

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

Definition at line 347 of file solarisHeaders.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 356 of file solarisHeaders.h.

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

Definition at line 366 of file solarisHeaders.h.

References xdrrec_endofrecord().

bool_t P_xdrrec_eof ( XDR *  x  )  [inline]

Definition at line 369 of file solarisHeaders.h.

bool_t P_xdrrec_skiprecord ( XDR *  x  )  [inline]

Definition at line 368 of file solarisHeaders.h.

int rexec ( char **  ,
unsigned  short,
const char *  ,
const char *  ,
const char *  ,
int *   
)

Variable Documentation

int(* P_native_demangle)(const char *, char *, size_t)

Referenced by P_cplus_demangle().

const char* sys_errlist[]
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1