4 /* Prototypes for functions which Purify supports */
14 void * Purify_malloc (size_t size
);
15 void * Purify_calloc (size_t nemb
, size_t size
);
16 void * Purify_realloc (void * mem
, size_t size
);
17 void Purify_free (void * mem
);
18 void * Purify_memmove (void *dest
, const void *src
, size_t n
);
19 void * Purify_memcpy (void *dest
, const void *src
, size_t n
);
20 char * Purify_strcpy (char *dest
, const char *src
);
21 char * Purify_strcat (char *dest
, const char *src
);
22 char * Purify_strncpy (char *dest
, const char *src
, size_t n
);
23 char * Purify_strdup (char * src
);
26 size_t Purify_fread (void *ptr
, size_t size
, size_t nmemb
, FILE *stream
);
27 size_t Purify_read (int fd
, void *ptr
, size_t size
);
28 char * Purify_fgets (char * ptr
, int size
, FILE * stream
);
29 char * Purify_getcwd (char * buf
, size_t size
);
30 int Purify_stat (char * path
, struct stat
* st
);
31 int Purify_lstat (char * path
, struct stat
* st
);
32 int Purify_fstat (int fd
, struct stat
* st
);
33 struct dirent
* Purify_readdir (DIR * dir
);