aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/litmus.c
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2011-01-26 20:36:49 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2011-01-30 14:31:56 -0500
commit3d8eb93db513bd9caa982f27fee8156405fac754 (patch)
treeca0c9b8b343049956c91104544c6828b877c65b8 /litmus/litmus.c
parent7dbc4a842d3bcfa755ba82cae46171d0098d4c2c (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