-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathline_io.h
More file actions
33 lines (27 loc) · 764 Bytes
/
line_io.h
File metadata and controls
33 lines (27 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*------------------------------------------------------
*
* line_io.h
*
* Project : LyreBird
* Name : Chong Guo
* Student ID : 301295753
* SFU username : armourg
* Lecture section : D1
* Instructor : Brain G.Booth
* TA : Scott Kristjanson
*
* Created by Armour on 15/09/2015
* Copyright (c) 2015 Armour. All rights reserved.
*
*------------------------------------------------------
*/
#ifndef LYREBIRD_LINE_IO_H
#define LYREBIRD_LINE_IO_H
#include <stdio.h>
#include <stdlib.h>
#define TWEETS_MAX_LENGTH 200
/* Get one line input from file */
char *input_line(FILE *fin, int *len);
/* Output one line of characters to file */
void output_line(FILE *fout, char *tweet, int len);
#endif