top: miscellaneous accumulated tweaks to code/comments

This patch includes the following miscellaneous stuff:

. ensure 1 space before any '*' ptr sizeof() reference

. explain the rather cryptic 'ioa' guy a little better

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2018-08-08 00:00:00 -05:00 committed by Craig Small
parent bb272580a6
commit cfe5b38a19

View File

@ -1069,10 +1069,10 @@ static char *alloc_s (const char *str) {
/*
* This function is used in connection with raw single byte
* unsolicited keyboard input that's susceptible to SIGWINCH
* interrupts (or any other signal). He also supports timout
* in the absence of user keystrokes or some signal interrupt. */
* An 'I/O available' routine which will detect raw single byte |
* unsolicited keyboard input which was susceptible to SIGWINCH |
* interrupts (or any other signal). He'll also support timout |
* in the absence of any user keystrokes or a signal interrupt. | */
static inline int ioa (struct timespec *ts) {
fd_set fs;
int rc;