diff options
author | Elliott Hughes <enh@google.com> | 2019-02-22 19:37:24 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-02-23 08:27:32 -0600 |
commit | 42af2e52e771dd7bf8be6fd1119520d492bb4b3f (patch) | |
tree | 313385b3e7ac5f05f698d007162242ecc27c1927 /lib/lib.h | |
parent | aa5ddae1bae1b0cfdef15c3c1cd20b4cee97c182 (diff) | |
download | toybox-42af2e52e771dd7bf8be6fd1119520d492bb4b3f.tar.gz |
Bumper typo cleanup.
Inspired by some of the small patches that have gone by recently.
Limited to only things found in `generated/help.h`, plus a wider cleanup
for the more common "milisecond" typo.
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -204,7 +204,7 @@ int mkpath(char *dir); struct string_list **splitpath(char *path, struct string_list **list); char *readfileat(int dirfd, char *name, char *buf, off_t *len); char *readfile(char *name, char *buf, off_t len); -void msleep(long miliseconds); +void msleep(long milliseconds); void nanomove(struct timespec *ts, long long offset); long long nanodiff(struct timespec *old, struct timespec *new); int highest_bit(unsigned long l); @@ -292,10 +292,10 @@ int draw_trim(char *str, int padto, int width); int tty_fd(void); int terminal_size(unsigned *xx, unsigned *yy); int terminal_probesize(unsigned *xx, unsigned *yy); -int scan_key_getsize(char *scratch, int miliwait, unsigned *xx, unsigned *yy); +int scan_key_getsize(char *scratch, int timeout_ms, unsigned *xx, unsigned *yy); int set_terminal(int fd, int raw, int speed, struct termios *old); void xset_terminal(int fd, int raw, int speed, struct termios *old); -int scan_key(char *scratch, int miliwait); +int scan_key(char *scratch, int timeout_ms); void tty_esc(char *s); void tty_jump(int x, int y); void tty_reset(void); |