diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-10-28 06:27:42 +0100 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-10-28 06:27:42 +0100 |
commit | ee3fbeb6c8c354cf4db226a5b1583c531ea37af4 (patch) | |
tree | 0964a1ab765ee2a03ca68558d8aae9c2dd82740e /.hgtags | |
parent | 2e38ab7afdc56e3853751918f1b7705362bea01c (diff) | |
download | st-ee3fbeb6c8c354cf4db226a5b1583c531ea37af4.tar.gz st-ee3fbeb6c8c354cf4db226a5b1583c531ea37af4.tar.bz2 st-ee3fbeb6c8c354cf4db226a5b1583c531ea37af4.zip |
Add error control to iofile
write can write less bytes than we request, so it is necessary check the
return value, in case of error print a message and don't continnue writing
in the file.
---
st.c | 39 ++++++++++++++++++++++++++++++---------
1 file changed, 30 insertions(+), 9 deletions(-)
Diffstat (limited to '.hgtags')
0 files changed, 0 insertions, 0 deletions