K&R C
Exercises from The C Programming Lanaguage by Kernighan and Ritchie
|
Read a line and return its length. More...
Functions | |
int | get_line (char s[], int lim) |
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 . |