Commit 11c80b44 authored by Philip Carns's avatar Philip Carns

move comments

parent 9a13bcc0
...@@ -17,6 +17,52 @@ ...@@ -17,6 +17,52 @@
* - POSIX_FSEEKS * - POSIX_FSEEKS
*/ */
/* catalog of stdio functions instrumented by this module
*
* functions for opening streams
* --------------
* FILE *fdopen(int, const char *); DONE
* FILE *fopen(const char *, const char *);
* FILE *freopen(const char *, const char *, FILE *);
*
* functions for closing streams
* --------------
* int fclose(FILE *); DONE
*
* functions for flushing streams
* --------------
* int fflush(FILE *);
*
* functions for reading data
* --------------
* int fgetc(FILE *);
* char *fgets(char *, int, FILE *);
* size_t fread(void *, size_t, size_t, FILE *); DONE
* int fscanf(FILE *, const char *, ...);
* int getc(FILE *);
* int getc_unlocked(FILE *);
* int getw(FILE *);
*
* functions for writing data
* --------------
* int fprintf(FILE *, const char *, ...);
* int fputc(int, FILE *);
* int fputs(const char *, FILE *);
* size_t fwrite(const void *, size_t, size_t, FILE *); DONE
* int putc(int, FILE *);
* int putc_unlocked(int, FILE *);
* int putw(int, FILE *);
* int vfprintf(FILE *, const char *, va_list);
*
* functions for changing file position
* --------------
* int fseek(FILE *, long int, int); DONE
* int fseeko(FILE *, off_t, int);
* int fsetpos(FILE *, const fpos_t *);
* void rewind(FILE *);
* int ungetc(int, FILE *);
*/
#define _XOPEN_SOURCE 500 #define _XOPEN_SOURCE 500
#define _GNU_SOURCE #define _GNU_SOURCE
......
...@@ -10,51 +10,6 @@ ...@@ -10,51 +10,6 @@
/* current log format version, to support backwards compatibility */ /* current log format version, to support backwards compatibility */
#define DARSHAN_STDIO_VER 1 #define DARSHAN_STDIO_VER 1
/*
* functions for opening streams
* --------------
* FILE *fdopen(int, const char *); DONE
* FILE *fopen(const char *, const char *);
* FILE *freopen(const char *, const char *, FILE *);
*
* functions for closing streams
* --------------
* int fclose(FILE *); DONE
*
* functions for flushing streams
* --------------
* int fflush(FILE *);
*
* functions for reading data
* --------------
* int fgetc(FILE *);
* char *fgets(char *, int, FILE *);
* size_t fread(void *, size_t, size_t, FILE *); DONE
* int fscanf(FILE *, const char *, ...);
* int getc(FILE *);
* int getc_unlocked(FILE *);
* int getw(FILE *);
*
* functions for writing data
* --------------
* int fprintf(FILE *, const char *, ...);
* int fputc(int, FILE *);
* int fputs(const char *, FILE *);
* size_t fwrite(const void *, size_t, size_t, FILE *); DONE
* int putc(int, FILE *);
* int putc_unlocked(int, FILE *);
* int putw(int, FILE *);
* int vfprintf(FILE *, const char *, va_list);
*
* functions for changing file position
* --------------
* int fseek(FILE *, long int, int); DONE
* int fseeko(FILE *, off_t, int);
* int fsetpos(FILE *, const fpos_t *);
* void rewind(FILE *);
* int ungetc(int, FILE *);
*/
#define STDIO_COUNTERS \ #define STDIO_COUNTERS \
/* count of fopens */\ /* count of fopens */\
X(STDIO_OPENS) \ X(STDIO_OPENS) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment