commit | 235c2987671222299042c7d920f83e21c7632ebb | [log] [tgz] |
---|---|---|
author | Christopher N. Hesse <raymanfx@gmail.com> | Sun Apr 02 17:20:16 2017 +0200 |
committer | Christopher N. Hesse <raymanfx@gmail.com> | Sun Apr 02 17:27:58 2017 +0200 |
tree | 8b7c4243850d8fb0f28700096490263cea3f59e1 | |
parent | d483dd7898a67ab30a424f20eb17e0f748cac12d [diff] |
lights_helper: I/O API cleanup * buf => buffer for consistency * explicitly cast strtol retval to int * close(NULL) is a no-op, remove superfluous checking * replace variying buffer sizes by INT_MAX_STRLEN * always return signed errno codes Change-Id: I972e33e2435ec7d68a8ffdc5ab88a14d8005ff55