Lines Matching defs:CollectorUtilFuncs
40 typedef struct CollectorUtilFuncs struct
42 int (*access)();
43 int (*atoi)(const char *nptr);
44 void *(*calloc)(size_t nelem, size_t elsize);
45 int (*clearenv)(void);
46 int (*close)(int);
47 int (*closedir)();
48 int (*execv)(const char *path, char *const argv[]);
49 void (*exit)(int status);
50 int (*fclose)(FILE *stream);
51 int (*fcntl)(int fd, int cmd, ...);
52 char *(*fgets)(char *s, int n, FILE *stream);
53 FILE *(*fopen)(const char *filename, const char *mode);
54 pid_t (*vfork)();
55 int (*fprintf)(FILE *stream, const char *format, ...);
56 void (*free)(void *ptr);
57 int (*fstat)(int fd, struct stat *buf);
58 int (*getcpuid)();
59 char *(*getcwd)(char *buf, size_t size);
60 char *(*getenv)(const char *name);
61 struct tm *(*gmtime_r)(const time_t *clock, struct tm *res);
62 int (*ioctl)(int d, int request, ...);
63 off_t (*lseek)(int fd, off_t offset, int whence);
64 void *(*malloc)(size_t size);
65 void *(*memset)(void *s1, int c, size_t n);
66 int (*mkdir)();
67 time_t (*mktime)(struct tm *timeptr);
68 void *(*mmap)(void *, size_t, int, int, int, off_t);
69 void *(*mmap64)();
70 int (*munmap)();
71 int (*open)(const char *, int, ...);
72 int (*open_bare)(const char *, int, ...);
73 DIR *(*opendir)();
74 int (*pclose)(FILE *stream);
75 FILE *(*popen)(const char *command, const char *mode);
76 int (*putenv)(char *string);
77 ssize_t (*pwrite)();
78 ssize_t (*pwrite64)();
79 ssize_t (*read)();
80 int (*setenv)(const char *name, const char *value, int overwrite);
81 int (*sigfillset)(sigset_t *set);
82 int (*sigprocmask)(int how, const sigset_t *set, sigset_t *oldset);
83 int (*snprintf)(char *str, size_t size, const char *format, ...);
84 int (*stack_getbounds)();
85 char *(*strchr)(const char *name, int c);
86 int (*strcmp)(const char *s1, const char *s2);
87 int (*strcpy)(const char *s1, const char *s2);
88 char *(*libc_strdup)(const char *s1); // Don't use "strdup" because it is a macro in gcc
89 char *(*strerror)(int errnum);
90 int (*strerror_r)(int errnum, char *strerrbuf, size_t buflen);
114 } CollectorUtilFuncs; argument