mirror of
https://github.com/UzixLS/picocom.git
synced 2025-07-19 07:21:18 +03:00
Cleanup error and info messages
Also moved fd_pinfof to picocom.c and renamed it to pinfo
This commit is contained in:
16
fdio.c
16
fdio.c
@ -77,22 +77,6 @@ fd_printf (int fd, const char *format, ...)
|
||||
return len;
|
||||
}
|
||||
|
||||
int
|
||||
fd_pinfof(int quiet, const char *format, ...)
|
||||
{
|
||||
va_list args;
|
||||
int len;
|
||||
|
||||
if ( quiet ) {
|
||||
return 0;
|
||||
}
|
||||
va_start(args, format);
|
||||
len = fd_vprintf(STDOUT_FILENO, format, args);
|
||||
va_end(args);
|
||||
|
||||
return len;
|
||||
}
|
||||
|
||||
/**********************************************************************/
|
||||
|
||||
#ifndef LINENOISE
|
||||
|
Reference in New Issue
Block a user