K&R C
Exercises from The C Programming Lanaguage by Kernighan and Ritchie
|
Read a line and return its length. More...
Go to the source code of this file.
Functions | |
int | get_line (char line[], int maxline) |
Read a line into s , up to lim characters. More... | |
Read a line and return its length.
int get_line | ( | char | s[], |
int | lim | ||
) |
Read a line into s
, up to lim
characters.
s | A character array. |
lim | The length of s . |