diff options
Diffstat (limited to '')
-rw-r--r-- | P1/src/mapper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/P1/src/mapper.c b/P1/src/mapper.c index 8aff3ec..3e0307d 100644 --- a/P1/src/mapper.c +++ b/P1/src/mapper.c @@ -87,6 +87,7 @@ void map(char *chunkData){ char *buffer; while ((buffer = getWord(chunkData, &i)) != NULL){ // get words from buffer & give it to emitter to be put into intermediateDS + emit(buffer, "1"); } // you can use getWord to retrieve words from the // chunkData one by one. Example usage in utils.h |