Tabs to spaces, more consistent formatting, childs -> children, typos in
[AROS.git] / compiler / purify / src / funcs.h
blobeeb56d074c216026a7b013e759f883cd40cb97f3
1 #ifndef _FUNCS_H
2 #define _FUNCS_H
4 /* Prototypes for functions which Purify supports */
5 #include <stdio.h>
6 #include <stdlib.h>
7 #include <string.h>
8 #include <sys/stat.h>
9 #include <sys/types.h>
10 #include <unistd.h>
11 #include <dirent.h>
13 /* memory.c */
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);
25 /* io.c */
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);
36 #endif /* _FUNCS_H */