diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2019-03-16 15:15:56 +0100 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2019-03-16 15:17:11 +0100 |
| commit | 673a447f292c07ad5399211f823ec45771bea07b (patch) | |
| tree | f6a72ab9e8621fe9a93018f761fa5c0712c36fd3 /src/cc4group.h | |
| parent | df9f87f985e0b1e5c13bf4b196d16316f49cd8ac (diff) | |
| download | cc4group-673a447f292c07ad5399211f823ec45771bea07b.tar.gz cc4group-673a447f292c07ad5399211f823ec45771bea07b.zip | |
Fix c4ls_buffer and reading from stdin file "-" on windows
Diffstat (limited to 'src/cc4group.h')
| -rw-r--r-- | src/cc4group.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cc4group.h b/src/cc4group.h index 5031e95..cc04a4f 100644 --- a/src/cc4group.h +++ b/src/cc4group.h @@ -53,11 +53,11 @@ typedef struct { bool (*openMemory)(CC4Group* const this, const void* const groupData, size_t const size, int const memoryManagement); // opens a group through a file descriptor - // the file descriptor must have been opened with read access + // the file descriptor must have been opened with read access; also be aware that the file must be opened with binary mode on windows bool (*openFd)(CC4Group* const this, int fd); // opens a group through a FILE* - // the file must have been opened with read access + // the file must have been opened with read access; also be aware that the file must be opened with binary mode on windows bool (*openFilePointer)(CC4Group* const this, FILE* fd); // opens a group and calls the callback to get the group data |
