Commit 659d2512 authored by Matthew Burket's avatar Matthew Burket
Browse files

Started file ops files

parent 63373b6d
Loading
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -3,3 +3,15 @@
//

#include "file_operations.h"

/// This method gets the last
///
/// \param fp
/// \param output
/// \return
int get_last_line(FILE fp, char **output) {

}
int get_specific_line(FILE fp, char **output) {

}
+4 −0
Original line number Diff line number Diff line
@@ -5,4 +5,8 @@
#ifndef COMS352_SHELL_FILE_OPERATIONS_H
#define COMS352_SHELL_FILE_OPERATIONS_H

#include <stdio.h>

int get_last_line(FILE fp, char **output);
int get_specific_line(FILE fp, char **output);
#endif //COMS352_SHELL_FILE_OPERATIONS_H