make vfs & filesystems use failable copying
[minix3.git] / include / minix / gcov.h
blob9168893d73829d2399bed049b471143165e7cd9c
1 #include <sys/types.h>
2 #include <lib.h>
3 #include <stdlib.h>
4 #include <minix/syslib.h>
6 /* opcodes for use in gcov buffer */
7 #define GCOVOP_OPEN 23
8 #define GCOVOP_WRITE 24
9 #define GCOVOP_CLOSE 25
10 #define GCOVOP_END 26
12 /* More information on the GCOV Minix Wiki page. */
14 int gcov_flush_svr(char *buff, int buff_sz, int server_nr);
15 extern void __gcov_flush (void);
16 int do_gcov_flush_impl(message *msg);
18 FILE *_gcov_fopen(char *name, char *mode);
19 size_t _gcov_fread(void *ptr, size_t itemsize, size_t nitems,
20 FILE *stream);
21 size_t _gcov_fwrite(void *ptr, size_t itemsize, size_t nitems,
22 FILE *stream);
23 int _gcov_fclose(FILE *stream);
24 int _gcov_fseek(FILE *stream, long offset, int ptrname);
25 char *_gcov_getenv(const char *name);