char * gets( char * s );
Description
- Waits for a string terminated by <CR> at the stdio window. The string returned is null terminated
without the return. The user should make sure only one process calls this function at a time.
Parameters
- s
- The input string is put to the location pointed to by the argument
s. The
caller is responsible to make sure the location pointed to by s is big enough
for the string.
Return value
- Same pointer passed in, but string is changed to be null terminated.
Library
- STDIO.LIB
See also
- puts, getchar