Commit graph

9 commits

Author SHA1 Message Date
Simon Lieb
743960f6e0 Change force option to lower case.
No need for upper case to avoid parameters collision.
2015-03-11 18:48:46 +01:00
Simon Lieb
841545aa4d Handle read/write errors. 2013-08-08 21:04:50 +02:00
Simon Lieb
7ae9bb1196 Write usage() message on stderr. 2013-08-08 21:03:11 +02:00
Simon Lieb
e7967698d2 Use EXIT_SUCCESS macro instead of simply 0. 2013-08-08 20:36:03 +02:00
Simon Lieb
d696b7ba45 Add parameter forcing flush after each bytes. 2013-08-07 19:53:53 +02:00
Simon Lieb
10619c50aa Add usage() function.
Using arg.h, fallback to usage() if there is no value for time.
2013-08-07 19:48:17 +02:00
Simon Lieb
e8e98a8c1f Add arg.h from sbase project.
git://git.suckless.org/sbase
2013-08-07 19:43:21 +02:00
Simon Lieb
08b9a63710 Read/Write byte by byte using using fread/fwrite.
Do not read 1024 arbitrary bytes.

Slow down output to character atomicity.
2013-08-05 19:46:39 +02:00
Simon Lieb
1870940c59 slow - Initial commit 2013-08-02 23:23:04 +02:00