diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2011-01-26 20:36:49 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2011-01-30 14:31:56 -0500 |
commit | 3d8eb93db513bd9caa982f27fee8156405fac754 (patch) | |
tree | ca0c9b8b343049956c91104544c6828b877c65b8 /litmus/litmus.c | |
parent | 7dbc4a842d3bcfa755ba82cae46171d0098d4c2c (diff) |
Litmus core: add copy_and_chomp() helper
We read in a line from userspace and remove the trailing newline in a
number of places. This function extracts the common code to avoid
future duplication.
Diffstat (limited to 'litmus/litmus.c')
0 files changed, 0 insertions, 0 deletions