OR-Tools  8.1
raw_logging.cc File Reference

Go to the source code of this file.

Namespaces

 google
 

Macros

#define safe_write(fd, s, len)   syscall(SYS_write, fd, s, len)
 

Functions

static bool DoRawLog (char **buf, int *size, const char *format,...)
 
static bool VADoRawLog (char **buf, int *size, const char *format, va_list ap)
 
void RawLog__ (LogSeverity severity, const char *file, int line, const char *format,...)
 

Variables

static const int kLogBufSize = 3000
 
static bool crashed = false
 
static logging_internal::CrashReason crash_reason
 
static char crash_buf [kLogBufSize+1] = {0}
 

Macro Definition Documentation

◆ safe_write

#define safe_write (   fd,
  s,
  len 
)    syscall(SYS_write, fd, s, len)

Definition at line 30 of file raw_logging.cc.