#include <assert.h>#include <stdio.h>#include <string.h>#include <errno.h>#include <fcntl.h>#include <memory.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 <rpc/types.h>#include <rpc/xdr.h>#include <sys/errno.h>#include <sys/wait.h>#include <signal.h>#include <sys/ptrace.h>#include <sys/resource.h>#include <stdarg.h>#include <stdlib.h>#include <sys/utsname.h>#include <sys/select.h>#include <sys/un.h>#include <sys/stat.h>#include <sys/ipc.h>#include <sys/shm.h>Go to the source code of this file.
Defines | |
| #define | _osf_headers_h |
Typedefs | |
| typedef int(* | P_xdrproc_t )(XDR *,...) |
| typedef void(* | P_sig_handler )(int) |
Functions | |
| int | fork () |
| int | vfork () |
| int | ptrace (long request, long process, ulong_t *addr, ulong_t data) |
| 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 (void) |
| int | P_kill (pid_t PID, int SIGNUM) |
| off_t | P_lseek (int FILEDES, off_t OFFSET, int WHENCE) |
| int | P_pclose (FILE *STREAM) |
| FILE * | P_popen (const char *COMMAND, const char *MODE) |
| int | P_open (const char *FILENAME, int FLAGS, mode_t MODE) |
| size_t | P_read (int FILEDES, void *BUFFER, size_t SIZE) |
| int | P_uname (struct utsname *unm) |
| 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, int, int) |
| void * | P_shmat (int, void *, int) |
| int | P_shmdt (void *) |
| int | P_shmctl (int, int, struct shmid_ds *) |
| 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, unsigned 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) |
| char * | P_strchr (const char *STR, 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) |
| char * | P_strrchr (const char *STR, int C) |
| char * | P_strstr (const char *HAYSTACK, const char *NEEDLE) |
| double | P_strtod (const char *STR, char **TAILPTR) |
| char * | P_strtok (char *NEWSTRING, const char *DELIMITERS) |
| long int | P_strtol (const char *STR, char **TAILPTR, int BASE) |
| unsigned long int | P_strtoul (const char *STR, 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_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, int) |
| 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 fd[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_ptrace (int req, int pid, Address addr, Address data, int) |
| int | P_rexec (char **ahost, u_short inport, char *user, char *passwd, char *cmd, int *fd2p) |
| int | P_select (int wid, fd_set *rd, fd_set *wr, fd_set *ex, struct timeval *tm) |
| char * | cplus_demangle (char *, int) |
| char * | P_cplus_demangle (const char *symbol, bool nativeCompiler, bool includeTypes=false) |
| void | P_xdr_destroy (XDR *) |
| bool_t | P_xdr_u_char (XDR *, u_char *) |
| bool_t | P_xdr_int (XDR *, int *) |
| bool_t | P_xdr_double (XDR *, double *) |
| bool_t | P_xdr_u_int (XDR *, u_int *) |
| bool_t | P_xdr_float (XDR *, float *) |
| bool_t | P_xdr_char (XDR *, char *) |
| bool_t | P_xdr_string (XDR *, char **, const u_int maxsize) |
| void | P_xdrrec_create (XDR *, 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 *, int now) |
| bool_t | P_xdrrec_skiprecord (XDR *) |
| bool_t | P_xdrrec_eof (XDR *x) |
Variables | |
| char * | sys_errlist [] |
| #define _osf_headers_h |
Definition at line 35 of file osfHeaders.h.
| typedef void(* P_sig_handler)(int) |
Definition at line 131 of file osfHeaders.h.
| typedef int(* P_xdrproc_t)(XDR *,...) |
Definition at line 80 of file osfHeaders.h.
| char* cplus_demangle | ( | char * | , | |
| int | ||||
| ) |
| int fork | ( | ) |
| void P__exit | ( | int | STATUS | ) | [inline] |
Definition at line 85 of file freebsdHeaders.h.
| void P_abort | ( | void | ) | [inline] |
Definition at line 74 of file freebsdHeaders.h.
| int P_accept | ( | int | SOCK, | |
| struct sockaddr * | ADDR, | |||
| size_t * | LENGTH_PTR | |||
| ) | [inline] |
Definition at line 180 of file irixHeaders.h.
| int P_bind | ( | int | socket, | |
| struct sockaddr * | addr, | |||
| size_t | len | |||
| ) | [inline] |
Definition at line 187 of file irixHeaders.h.
| int P_chdir | ( | const char * | path | ) | [inline] |
Definition at line 115 of file aixv41Headers.h.
| int P_close | ( | int | FILEDES | ) | [inline] |
Definition at line 75 of file freebsdHeaders.h.
| int P_connect | ( | int | socket, | |
| struct sockaddr * | addr, | |||
| size_t | len | |||
| ) | [inline] |
Definition at line 189 of file irixHeaders.h.
| 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 78 of file freebsdHeaders.h.
| void P_endservent | ( | void | ) | [inline] |
Definition at line 223 of file freebsdHeaders.h.
| int P_execve | ( | const char * | FILENAME, | |
| char *const | ARGV[], | |||
| char *const | ENVP[] | |||
| ) | [inline] |
Definition at line 81 of file freebsdHeaders.h.
| int P_execvp | ( | const char * | FILENAME, | |
| char *const | ARGV[] | |||
| ) | [inline] |
Definition at line 79 of file freebsdHeaders.h.
| void P_exit | ( | int | STATUS | ) | [inline] |
Definition at line 134 of file freebsdHeaders.h.
| int P_fcntl | ( | int | FILEDES, | |
| int | command, | |||
| int | arg2 | |||
| ) | [inline] |
Definition at line 86 of file freebsdHeaders.h.
| FILE* P_fdopen | ( | int | FILEDES, | |
| const char * | OPENTYPE | |||
| ) | [inline] |
Definition at line 88 of file freebsdHeaders.h.
| int P_fflush | ( | FILE * | stream | ) | [inline] |
Definition at line 135 of file freebsdHeaders.h.
| char* P_fgets | ( | char * | S, | |
| int | COUNT, | |||
| FILE * | STREAM | |||
| ) | [inline] |
Definition at line 136 of file freebsdHeaders.h.
| FILE* P_fopen | ( | const char * | FILENAME, | |
| const char * | OPENTYPE | |||
| ) | [inline] |
Definition at line 90 of file freebsdHeaders.h.
| int P_fstat | ( | int | FILEDES, | |
| struct stat * | BUF | |||
| ) | [inline] |
Definition at line 95 of file freebsdHeaders.h.
| struct hostent* P_gethostbyname | ( | const char * | NAME | ) | [read] |
Definition at line 188 of file freebsdHeaders.h.
| pid_t P_getpid | ( | void | ) | [inline] |
Definition at line 96 of file freebsdHeaders.h.
| struct servent* P_getservbyname | ( | const char * | NAME, | |
| const char * | PROTO | |||
| ) | [read] |
Definition at line 194 of file freebsdHeaders.h.
| int P_getsockname | ( | int | SOCKET, | |
| struct sockaddr * | ADDR, | |||
| size_t * | LENGTH_PTR | |||
| ) | [inline] |
Definition at line 197 of file irixHeaders.h.
| int P_kill | ( | pid_t | PID, | |
| int | SIGNUM | |||
| ) | [inline] |
Definition at line 97 of file freebsdHeaders.h.
| int P_listen | ( | int | socket, | |
| unsigned int | n | |||
| ) | [inline] |
Definition at line 207 of file freebsdHeaders.h.
References listen().
| off_t P_lseek | ( | int | FILEDES, | |
| off_t | OFFSET, | |||
| int | WHENCE | |||
| ) | [inline] |
Definition at line 98 of file freebsdHeaders.h.
| void* P_malloc | ( | size_t | SIZE | ) | [inline] |
Definition at line 138 of file freebsdHeaders.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, | |||
| unsigned | SIZE | |||
| ) |
Definition at line 115 of file aixv41Kludges.C.
| caddr_t P_mmap | ( | caddr_t | addr, | |
| size_t | len, | |||
| int | prot, | |||
| int | flags, | |||
| int | fd, | |||
| off_t | off | |||
| ) | [inline] |
Definition at line 208 of file freebsdHeaders.h.
| int P_munmap | ( | caddr_t | , | |
| int | ||||
| ) | [inline] |
Definition at line 211 of file freebsdHeaders.h.
| int P_open | ( | const char * | FILENAME, | |
| int | FLAGS, | |||
| mode_t | MODE | |||
| ) | [inline] |
Definition at line 100 of file freebsdHeaders.h.
| int P_pclose | ( | FILE * | STREAM | ) | [inline] |
Definition at line 105 of file freebsdHeaders.h.
| void P_perror | ( | const char * | MESSAGE | ) | [inline] |
Definition at line 143 of file freebsdHeaders.h.
| int P_pipe | ( | int | fd[2] | ) | [inline] |
Definition at line 216 of file freebsdHeaders.h.
References pipe().
| FILE* P_popen | ( | const char * | COMMAND, | |
| const char * | MODE | |||
| ) | [inline] |
Definition at line 106 of file freebsdHeaders.h.
Definition at line 169 of file osfHeaders.h.
References ptrace().
| int P_putenv | ( | char * | str | ) | [inline] |
Definition at line 116 of file aixv41Headers.h.
| size_t P_read | ( | int | FILEDES, | |
| void * | BUFFER, | |||
| size_t | SIZE | |||
| ) | [inline] |
Definition at line 108 of file freebsdHeaders.h.
| int P_rexec | ( | char ** | ahost, | |
| u_short | inport, | |||
| char * | user, | |||
| char * | passwd, | |||
| char * | cmd, | |||
| int * | fd2p | |||
| ) | [inline] |
Definition at line 242 of file irixHeaders.h.
References rexec().
| int P_select | ( | int | wid, | |
| fd_set * | rd, | |||
| fd_set * | wr, | |||
| fd_set * | ex, | |||
| struct timeval * | tm | |||
| ) | [inline] |
Definition at line 233 of file freebsdHeaders.h.
| void* P_shmat | ( | int | , | |
| void * | , | |||
| int | ||||
| ) | [inline] |
Definition at line 125 of file freebsdHeaders.h.
| int P_shmctl | ( | int | , | |
| int | , | |||
| struct shmid_ds * | ||||
| ) | [inline] |
Definition at line 129 of file freebsdHeaders.h.
| int P_shmdt | ( | void * | ) | [inline] |
Definition at line 128 of file freebsdHeaders.h.
| int P_shmget | ( | key_t | , | |
| int | , | |||
| int | ||||
| ) | [inline] |
Definition at line 122 of file freebsdHeaders.h.
| P_sig_handler P_signal | ( | int | SIGNUM, | |
| P_sig_handler | ACTION | |||
| ) | [inline] |
Definition at line 145 of file freebsdHeaders.h.
| int P_socket | ( | int | NAMESPACE, | |
| int | STYLE, | |||
| int | PROTOCOL | |||
| ) | [inline] |
Definition at line 212 of file freebsdHeaders.h.
References socket().
| int P_socketpair | ( | int | namesp, | |
| int | style, | |||
| int | protocol, | |||
| int | filedes[2] | |||
| ) | [inline] |
Definition at line 214 of file freebsdHeaders.h.
References socketpair().
| int P_strcasecmp | ( | const char * | s1, | |
| const char * | s2 | |||
| ) | [inline] |
Definition at line 217 of file freebsdHeaders.h.
References strcasecmp().
| char* P_strcat | ( | char * | TO, | |
| const char * | FROM | |||
| ) | [inline] |
Definition at line 147 of file freebsdHeaders.h.
| char* P_strchr | ( | const char * | STR, | |
| int | C | |||
| ) | [inline] |
Definition at line 150 of file freebsdHeaders.h.
| int P_strcmp | ( | const char * | S1, | |
| const char * | S2 | |||
| ) | [inline] |
Definition at line 153 of file freebsdHeaders.h.
| char* P_strcpy | ( | char * | TO, | |
| const char * | FROM | |||
| ) | [inline] |
Definition at line 155 of file freebsdHeaders.h.
| char* P_strdup | ( | const char * | S | ) | [inline] |
Definition at line 157 of file freebsdHeaders.h.
| size_t P_strlen | ( | const char * | S | ) | [inline] |
Definition at line 158 of file freebsdHeaders.h.
| int P_strncasecmp | ( | const char * | S1, | |
| const char * | S2, | |||
| size_t | N | |||
| ) | [inline] |
Definition at line 219 of file freebsdHeaders.h.
References strncasecmp().
| char* P_strncat | ( | char * | TO, | |
| const char * | FROM, | |||
| size_t | SIZE | |||
| ) | [inline] |
Definition at line 159 of file freebsdHeaders.h.
| int P_strncmp | ( | const char * | S1, | |
| const char * | S2, | |||
| size_t | SIZE | |||
| ) | [inline] |
Definition at line 161 of file freebsdHeaders.h.
| char* P_strncpy | ( | char * | TO, | |
| const char * | FROM, | |||
| size_t | SIZE | |||
| ) | [inline] |
Definition at line 163 of file freebsdHeaders.h.
| char* P_strrchr | ( | const char * | STR, | |
| int | C | |||
| ) | [inline] |
Definition at line 37 of file bg_compute_headers.h.
| char* P_strstr | ( | const char * | HAYSTACK, | |
| const char * | NEEDLE | |||
| ) | [inline] |
Definition at line 169 of file freebsdHeaders.h.
| double P_strtod | ( | const char * | STR, | |
| char ** | TAILPTR | |||
| ) | [inline] |
Definition at line 172 of file freebsdHeaders.h.
| char* P_strtok | ( | char * | NEWSTRING, | |
| const char * | DELIMITERS | |||
| ) | [inline] |
Definition at line 174 of file freebsdHeaders.h.
| long int P_strtol | ( | const char * | STR, | |
| char ** | TAILPTR, | |||
| int | BASE | |||
| ) | [inline] |
Definition at line 176 of file freebsdHeaders.h.
| unsigned long int P_strtoul | ( | const char * | STR, | |
| char ** | TAILPTR, | |||
| int | BASE | |||
| ) | [inline] |
Definition at line 178 of file freebsdHeaders.h.
| int P_uname | ( | struct utsname * | unm | ) | [inline] |
Definition at line 110 of file freebsdHeaders.h.
| pid_t P_wait | ( | int * | status_ptr | ) | [inline] |
Definition at line 111 of file freebsdHeaders.h.
| int P_waitpid | ( | pid_t | pid, | |
| int * | statusp, | |||
| int | options | |||
| ) | [inline] |
Definition at line 112 of file freebsdHeaders.h.
| size_t P_write | ( | int | FILEDES, | |
| const void * | BUFFER, | |||
| size_t | SIZE | |||
| ) | [inline] |
Definition at line 114 of file freebsdHeaders.h.
| bool_t P_xdr_char | ( | XDR * | , | |
| char * | ||||
| ) | [inline] |
Definition at line 265 of file freebsdHeaders.h.
| void P_xdr_destroy | ( | XDR * | ) | [inline] |
Definition at line 256 of file freebsdHeaders.h.
| bool_t P_xdr_double | ( | XDR * | , | |
| double * | ||||
| ) | [inline] |
Definition at line 259 of file freebsdHeaders.h.
| bool_t P_xdr_float | ( | XDR * | , | |
| float * | ||||
| ) | [inline] |
Definition at line 263 of file freebsdHeaders.h.
| bool_t P_xdr_int | ( | XDR * | , | |
| int * | ||||
| ) | [inline] |
Definition at line 258 of file freebsdHeaders.h.
| bool_t P_xdr_string | ( | XDR * | , | |
| char ** | , | |||
| const u_int | maxsize | |||
| ) | [inline] |
Definition at line 267 of file freebsdHeaders.h.
| bool_t P_xdr_u_char | ( | XDR * | , | |
| u_char * | ||||
| ) | [inline] |
Definition at line 257 of file freebsdHeaders.h.
| bool_t P_xdr_u_int | ( | XDR * | , | |
| u_int * | ||||
| ) | [inline] |
Definition at line 261 of file freebsdHeaders.h.
| void P_xdrrec_create | ( | XDR * | , | |
| 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 276 of file irixHeaders.h.
| bool_t P_xdrrec_endofrecord | ( | XDR * | , | |
| int | now | |||
| ) | [inline] |
Definition at line 277 of file freebsdHeaders.h.
References xdrrec_endofrecord().
| bool_t P_xdrrec_eof | ( | XDR * | x | ) | [inline] |
Definition at line 196 of file osfHeaders.h.
| bool_t P_xdrrec_skiprecord | ( | XDR * | ) | [inline] |
Definition at line 279 of file freebsdHeaders.h.
| int ptrace | ( | long | request, | |
| long | process, | |||
| ulong_t * | addr, | |||
| ulong_t | data | |||
| ) |
Referenced by ProcessReaderPtrace::done(), P_ptrace(), PtraceBulkAccess(), and ProcessReaderPtrace::start().
| int vfork | ( | ) |
| char* sys_errlist[] |
1.6.1