Syntax | #include <stdio.h> char *gets(char *s); | |||||
Description |
| |||||
Return val. | Pointer to the result string | |||||
upon successful completion. | ||||||
Null pointer | if the stream is at end-of-file. The end-of-file indicator for the stream is set; If a read error occurs. The error indicator for the stream is set, and | |||||
Errors | See | |||||
Notes | Reading a line that overflows the array pointed to by s causes undefined results. The use of If BS2000
The program environment determines whether
| |||||
See also |
|