Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
72
Issues
72
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
darshan
darshan
Commits
11c80b44
Commit
11c80b44
authored
May 18, 2016
by
Philip Carns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move comments
parent
9a13bcc0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
45 deletions
+46
-45
darshan-runtime/lib/darshan-stdio.c
darshan-runtime/lib/darshan-stdio.c
+46
-0
darshan-stdio-log-format.h
darshan-stdio-log-format.h
+0
-45
No files found.
darshan-runtime/lib/darshan-stdio.c
View file @
11c80b44
...
...
@@ -17,6 +17,52 @@
* - 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 _GNU_SOURCE
...
...
darshan-stdio-log-format.h
View file @
11c80b44
...
...
@@ -10,51 +10,6 @@
/* current log format version, to support backwards compatibility */
#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 \
/* count of fopens */
\
X(STDIO_OPENS) \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment