MCPcopy Create free account
hub / github.com/IoLanguage/io / UArray_writeToCStream_

Function UArray_writeToCStream_

libs/basekit/source/UArray_stream.c:128–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128long UArray_writeToCStream_(const UArray *self, FILE *stream) {
129 size_t totalItemsRead = UArray_fwrite_(self, self->size, stream);
130 if (ferror(stream)) {
131 perror("UArray_readFromCStream_");
132 return -1;
133 }
134 return totalItemsRead;
135}
136
137long UArray_writeToFilePath_(const UArray *self, const UArray *path) {
138 UArray *sysPath =

Callers 2

UArray_writeToFilePath_Function · 0.85
IoFile.cFile · 0.85

Calls 1

UArray_fwrite_Function · 0.85

Tested by

no test coverage detected