procps/local/fileutils.h
Roman Žilka 0a5b342927 watch: Orderly recovery from cmd taking longer than -n [BUG]; code cleanup
* When cmd took longer than -n to complete, -p is no longer skipping sleeps to
  make up for the time lost waiting for the completion(s) [BUG].
* Code cleanup, minor optimization. Moved universal routines to
  strutils/fileutils.

Signed-off-by: Craig Small <csmall@dropbear.xyz>
2023-10-06 16:34:11 +11:00

11 lines
166 B
C

#ifndef PROCPS_NG_FILEUTILS
#define PROCPS_NG_FILEUTILS
#include <wchar.h>
int close_stream(FILE * stream);
void close_stdout(void);
wint_t getmb(FILE *f);
#endif