aboutsummaryrefslogtreecommitdiffstats
path: root/P2/lib/utils.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--P2/lib/utils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/P2/lib/utils.c b/P2/lib/utils.c
index ac35243..5849296 100644
--- a/P2/lib/utils.c
+++ b/P2/lib/utils.c
@@ -45,6 +45,11 @@ void sendChunkData(char *inputFile, int nMappers) {
Maybe copy message.msgText into a new array, do the
backwards iteration, and then replace message.msgText
with the temp array? Or something? */
+ //fseek()?? (HIGH LEVEL)
+ //https://www.tutorialspoint.com/c_standard_library/c_function_fseek.htm
+ //lseek()?? (LOW LEVEL)
+ //http://crasseux.com/books/ctutorial/Finding-file-positions-at-a-low-level.html
+
// TODO! help
int i = 1023;
while(message.msgText[i] != ' ' || message.msgText[i] != '.') {