diff options
author | Rob Landley <rob@landley.net> | 2007-01-18 21:54:08 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-01-18 21:54:08 -0500 |
commit | 901637760b4206e968e73dd5ff7430c107c27b57 (patch) | |
tree | 61923e296b7728cb32261bd64eb1ad2261f5ad75 /toys.h | |
parent | 813840c9d199bf9e26d23291cf23e22a68e8ad82 (diff) | |
download | toybox-901637760b4206e968e73dd5ff7430c107c27b57.tar.gz |
Add fdprintf(). Remove reread() and rewrite() which handle -EINTR, which
shouldn't be a problem if we register signal handlers with sigaction(SA_RESTART)
Straighten out count and len (I generally consistently use "count" for the
current progress and "len" for the total, but this time I got them backwards
for some reason and don't want to confuse myself in future.)
Diffstat (limited to 'toys.h')
-rw-r--r-- | toys.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6,6 +6,8 @@ * Licensed under GPL version 2, see file LICENSE in this tarball for details. */ +#include "lib/portability.h" + #include <ctype.h> #include <errno.h> #include <fcntl.h> @@ -26,7 +28,6 @@ #include <unistd.h> #include "lib/lib.h" -#include "lib/portability.h" #include "gen_config.h" #include "toys/toylist.h" |