#include <windows.h>#include <winsock2.h>#include <dbghelp.h>#include <assert.h>#include <stdio.h>#include <string.h>#include <stdlib.h>#include <errno.h>#include <fcntl.h>#include <io.h>#include <direct.h>#include <malloc.h>#include <process.h>#include <sys/types.h>#include <signal.h>#include <stdarg.h>#include <time.h>#include <sys/stat.h>#include <float.h>Go to the source code of this file.
Defines | |
| #define | pd_nt_headers_h |
| #define | WIN32_LEAN_AND_MEAN |
| #define | __out_ecount_opt(x) |
| #define | isnan _isnan |
| #define | alloca _alloca |
| #define | PDSOCKET_ERROR SOCKET_ERROR |
Typedefs | |
| typedef SOCKET | PDSOCKET |
| typedef int | pid_t |
| typedef int | key_t |
| typedef unsigned int | socklen_t |
| 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) |
| void | P__exit (int STATUS) |
| 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) |
| int | P_getpid () |
| off_t | P_lseek (int FILEDES, off_t OFFSET, int WHENCE) |
| int | P__open (const char *FILENAME, int FLAGS, int MODE) |
| int | P__pclose (FILE *STREAM) |
| FILE * | P__popen (const char *COMMAND, const char *MODE) |
| size_t | P_write (int FILEDES, const void *BUFFER, size_t SIZE) |
| int | P_chdir (const char *path) |
| int | P_putenv (char *str) |
| 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 *STRING, int C) |
| char * | P_strchr (char *STRING, int C) |
| int | P_getpagesize () |
| 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 *STRING, int C) |
| char * | P_strrchr (char *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 *STRING, char **TAILPTR) |
| char * | P_strtok (char *NEWSTRING, const char *DELIMITERS) |
| long int | P_strtol (const char *STRING, char **TAILPTR, int BASE) |
| unsigned long int | P_strtoul (const char *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_listen (int socket, unsigned int n) |
| int | P_socket (int NAMESPACE, int STYLE, int PROTOCOL) |
| int | P_select (int wid, fd_set *rd, fd_set *wr, fd_set *ex, struct timeval *tm) |
| int | P_recv (int s, void *buf, size_t len, int flags) |
| int | P_mkdir (const char *pathname, int) |
| int | P_unlink (const char *pathname) |
| char * | cplus_demangle (char *, int, bool) |
| char * | P_cplus_demangle (const char *symbol, bool, bool includeTypes=false) |
| #define __out_ecount_opt | ( | x | ) |
Definition at line 44 of file ntHeaders.h.
| #define alloca _alloca |
Definition at line 93 of file ntHeaders.h.
| #define isnan _isnan |
Definition at line 91 of file ntHeaders.h.
| #define pd_nt_headers_h |
Definition at line 35 of file ntHeaders.h.
| #define PDSOCKET_ERROR SOCKET_ERROR |
Definition at line 96 of file ntHeaders.h.
| #define WIN32_LEAN_AND_MEAN |
Definition at line 39 of file ntHeaders.h.
| typedef int key_t |
Definition at line 101 of file ntHeaders.h.
| typedef void(* P_sig_handler)(int) |
Definition at line 141 of file ntHeaders.h.
| typedef SOCKET PDSOCKET |
Definition at line 97 of file ntHeaders.h.
| typedef int pid_t |
Definition at line 100 of file ntHeaders.h.
| typedef unsigned int socklen_t |
Definition at line 102 of file ntHeaders.h.
| char* cplus_demangle | ( | char * | , | |
| int | , | |||
| bool | ||||
| ) |
Definition at line 120 of file Object-nt.C.
References P_strdup(), and stripAtSuffix().
| int P__dup2 | ( | int | OLD, | |
| int | NEW | |||
| ) | [inline] |
Definition at line 110 of file ntHeaders.h.
| void P__exit | ( | int | STATUS | ) | [inline] |
Definition at line 111 of file ntHeaders.h.
| int P__open | ( | const char * | FILENAME, | |
| int | FLAGS, | |||
| int | MODE | |||
| ) | [inline] |
Definition at line 121 of file ntHeaders.h.
| int P__pclose | ( | FILE * | STREAM | ) | [inline] |
Definition at line 123 of file ntHeaders.h.
| FILE* P__popen | ( | const char * | COMMAND, | |
| const char * | MODE | |||
| ) | [inline] |
Definition at line 124 of file ntHeaders.h.
| void P_abort | ( | void | ) | [inline] |
Definition at line 108 of file ntHeaders.h.
| int P_accept | ( | int | SOCK, | |
| struct sockaddr * | ADDR, | |||
| size_t * | LENGTH_PTR | |||
| ) | [inline] |
Definition at line 188 of file ntHeaders.h.
| int P_bind | ( | int | socket, | |
| struct sockaddr * | addr, | |||
| size_t | len | |||
| ) | [inline] |
Definition at line 190 of file ntHeaders.h.
| int P_chdir | ( | const char * | path | ) | [inline] |
Definition at line 128 of file ntHeaders.h.
| int P_close | ( | int | FILEDES | ) | [inline] |
Definition at line 109 of file ntHeaders.h.
| int P_connect | ( | int | socket, | |
| struct sockaddr * | addr, | |||
| size_t | len | |||
| ) | [inline] |
Definition at line 192 of file ntHeaders.h.
| char* P_cplus_demangle | ( | const char * | symbol, | |
| bool | , | |||
| bool | includeTypes = false | |||
| ) | [inline] |
Definition at line 220 of file ntHeaders.h.
| void P_exit | ( | int | STATUS | ) | [inline] |
Definition at line 132 of file ntHeaders.h.
| FILE* P_fdopen | ( | int | FILEDES, | |
| const char * | OPENTYPE | |||
| ) | [inline] |
Definition at line 112 of file ntHeaders.h.
| int P_fflush | ( | FILE * | stream | ) | [inline] |
Definition at line 133 of file ntHeaders.h.
| char* P_fgets | ( | char * | S, | |
| int | COUNT, | |||
| FILE * | STREAM | |||
| ) | [inline] |
Definition at line 134 of file ntHeaders.h.
| FILE* P_fopen | ( | const char * | FILENAME, | |
| const char * | OPENTYPE | |||
| ) | [inline] |
Definition at line 114 of file ntHeaders.h.
| int P_fstat | ( | int | FILEDES, | |
| struct stat * | BUF | |||
| ) | [inline] |
Definition at line 117 of file ntHeaders.h.
| struct hostent* P_gethostbyname | ( | const char * | NAME | ) | [read] |
Definition at line 194 of file ntHeaders.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 149 of file ntHeaders.h.
| int P_getpid | ( | void | ) | [inline] |
Definition at line 118 of file ntHeaders.h.
| struct servent* P_getservbyname | ( | const char * | NAME, | |
| const char * | PROTO | |||
| ) | [read] |
Definition at line 196 of file ntHeaders.h.
| int P_getsockname | ( | int | SOCKET, | |
| struct sockaddr * | ADDR, | |||
| size_t * | LENGTH_PTR | |||
| ) | [inline] |
Definition at line 198 of file ntHeaders.h.
| int P_listen | ( | int | socket, | |
| unsigned int | n | |||
| ) | [inline] |
Definition at line 200 of file ntHeaders.h.
References listen().
| off_t P_lseek | ( | int | FILEDES, | |
| off_t | OFFSET, | |||
| int | WHENCE | |||
| ) | [inline] |
Definition at line 119 of file ntHeaders.h.
| void* P_malloc | ( | size_t | SIZE | ) | [inline] |
Definition at line 136 of file ntHeaders.h.
| void* P_memcpy | ( | void * | A1, | |
| const void * | A2, | |||
| size_t | SIZE | |||
| ) | [inline] |
Definition at line 137 of file ntHeaders.h.
| void* P_memset | ( | void * | BLOCK, | |
| int | C, | |||
| size_t | SIZE | |||
| ) | [inline] |
Definition at line 138 of file ntHeaders.h.
| int P_mkdir | ( | const char * | pathname, | |
| int | ||||
| ) | [inline] |
Definition at line 212 of file ntHeaders.h.
| void P_perror | ( | const char * | MESSAGE | ) | [inline] |
Definition at line 140 of file ntHeaders.h.
| int P_putenv | ( | char * | str | ) | [inline] |
Definition at line 129 of file ntHeaders.h.
| int P_recv | ( | int | s, | |
| void * | buf, | |||
| size_t | len, | |||
| int | flags | |||
| ) | [inline] |
Definition at line 208 of file ntHeaders.h.
| int P_select | ( | int | wid, | |
| fd_set * | rd, | |||
| fd_set * | wr, | |||
| fd_set * | ex, | |||
| struct timeval * | tm | |||
| ) | [inline] |
Definition at line 204 of file ntHeaders.h.
| P_sig_handler P_signal | ( | int | SIGNUM, | |
| P_sig_handler | ACTION | |||
| ) | [inline] |
Definition at line 142 of file ntHeaders.h.
| int P_socket | ( | int | NAMESPACE, | |
| int | STYLE, | |||
| int | PROTOCOL | |||
| ) | [inline] |
Definition at line 201 of file ntHeaders.h.
References socket().
| char* P_strcat | ( | char * | TO, | |
| const char * | FROM | |||
| ) | [inline] |
Definition at line 144 of file ntHeaders.h.
| char* P_strchr | ( | char * | STRING, | |
| int | C | |||
| ) | [inline] |
Definition at line 148 of file ntHeaders.h.
| const char* P_strchr | ( | const char * | STRING, | |
| int | C | |||
| ) | [inline] |
Definition at line 147 of file ntHeaders.h.
| int P_strcmp | ( | const char * | S1, | |
| const char * | S2 | |||
| ) | [inline] |
Definition at line 159 of file ntHeaders.h.
| char* P_strcpy | ( | char * | TO, | |
| const char * | FROM | |||
| ) | [inline] |
Definition at line 161 of file ntHeaders.h.
| char* P_strdup | ( | const char * | S | ) | [inline] |
Definition at line 163 of file ntHeaders.h.
| size_t P_strlen | ( | const char * | S | ) | [inline] |
Definition at line 164 of file ntHeaders.h.
| char* P_strncat | ( | char * | TO, | |
| const char * | FROM, | |||
| size_t | SIZE | |||
| ) | [inline] |
Definition at line 165 of file ntHeaders.h.
| int P_strncmp | ( | const char * | S1, | |
| const char * | S2, | |||
| size_t | SIZE | |||
| ) | [inline] |
Definition at line 167 of file ntHeaders.h.
| char* P_strncpy | ( | char * | TO, | |
| const char * | FROM, | |||
| size_t | SIZE | |||
| ) | [inline] |
Definition at line 169 of file ntHeaders.h.
| char* P_strrchr | ( | char * | STRING, | |
| int | C | |||
| ) | [inline] |
Definition at line 173 of file ntHeaders.h.
| const char* P_strrchr | ( | const char * | STRING, | |
| int | C | |||
| ) | [inline] |
Definition at line 172 of file ntHeaders.h.
| char* P_strstr | ( | char * | HAYSTACK, | |
| const char * | NEEDLE | |||
| ) | [inline] |
Definition at line 176 of file ntHeaders.h.
| const char* P_strstr | ( | const char * | HAYSTACK, | |
| const char * | NEEDLE | |||
| ) | [inline] |
Definition at line 175 of file ntHeaders.h.
| double P_strtod | ( | const char * | STRING, | |
| char ** | TAILPTR | |||
| ) | [inline] |
Definition at line 178 of file ntHeaders.h.
| char* P_strtok | ( | char * | NEWSTRING, | |
| const char * | DELIMITERS | |||
| ) | [inline] |
Definition at line 180 of file ntHeaders.h.
| long int P_strtol | ( | const char * | STRING, | |
| char ** | TAILPTR, | |||
| int | BASE | |||
| ) | [inline] |
Definition at line 182 of file ntHeaders.h.
| unsigned long int P_strtoul | ( | const char * | STRING, | |
| char ** | TAILPTR, | |||
| int | BASE | |||
| ) | [inline] |
Definition at line 184 of file ntHeaders.h.
| int P_unlink | ( | const char * | pathname | ) | [inline] |
Definition at line 216 of file ntHeaders.h.
| size_t P_write | ( | int | FILEDES, | |
| const void * | BUFFER, | |||
| size_t | SIZE | |||
| ) | [inline] |
Definition at line 126 of file ntHeaders.h.
1.6.1