Changeset 0580615 in buchla-68k for libcio/fgets.c
- Timestamp:
- 07/08/2017 02:42:31 PM (7 years ago)
- Branches:
- master
- Children:
- 342a56f
- Parents:
- 46d8069
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcio/fgets.c
r46d8069 r0580615 11 11 #define EATCHAR '\n' /* character to be "eaten" on input */ 12 12 13 int 14 agetc(ptr) 15 register FILE *ptr; 13 int agetc(FILE *ptr) 16 14 { 17 15 register int c; … … 35 33 } 36 34 37 char * 38 gets(line) 39 char *line; 35 char *gets(char *line) 40 36 { 41 37 register char *cp; … … 55 51 } 56 52 57 char * 58 fgets(s, n, fp) 59 char *s; 60 int n; 61 FILE *fp; 53 char *fgets(char *s, int n, FILE *fp) 62 54 { 63 55 register int c;
Note:
See TracChangeset
for help on using the changeset viewer.