Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 1.63 KB

input.asc

File metadata and controls

68 lines (46 loc) · 1.63 KB

input

fgetc

int fgetc(FILE F)
*Defines:
fileno read
get a byte from a stream Size: ~57B ../src/streams/fgetc.c l.5 manpage: fgetc

fgets

char* fgets(char buf, int size, FILE F)
Defines: fileno read
get a string from a stream ../src/streams/fgets.c l.4 manpage: fgets

getc

#define getc(F) fgetc(F)
Defines: read fileno
get a byte from a stream ../include/fgetc.h l.8 manpage: getc

getchar

#define getchar() fgetc(0)
Defines: fileno read
get a byte from a ../include/fgetc.h l.11 manpage: getchar

gets

#define gets(F) fgets(F,0xfffffff,stdin)
Defines: fileno read
get a string from a ../src/streams/gets.c l.3 manpage: gets

read

int read( int fd, void buf, int len )
*read from a file
Size: ~62B ../include/syscall_stubs.h l.103 manpage: read

ungetc

int ungetc(int c, FILE F)
*push byte back into input stream

pushes one char back to the stream.
 Overwrites a previously pushed char
 (conforming to the posix spec)

Size: ~66B ../src/streams/ungetc.c l.5 manpage: ungetc