Skip to content

Commit

Permalink
Add common/src/lprintf.C
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Apr 3, 2024
1 parent 0a1ef42 commit be74911
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions common/src/lprintf.C
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

/************************************************************************
* lprintf.c: printf-like error functions.
************************************************************************/


/************************************************************************
* header files.
************************************************************************/

#include "common/src/headers.h"
#include "common/src/lprintf.h"
#include <stdio.h>
#include <stdarg.h>
#include <errno.h>

/************************************************************************
* void log_msg(const char* msg)
* void log_printf(void (*pfunc)(const char *), const char* fmt, ...)
* void log_perror(void (*pfunc)(const char *), const char* msg)
*
* error printing functions.
************************************************************************/

static char log_buffer[8192];

void log_msg(const char* msg) {
Expand Down

0 comments on commit be74911

Please sign in to comment.