Search
 
SCRIPT & CODE EXAMPLE
 

CPP

__aeabi_assert()

__attribute__((weak,noreturn))
void __aeabi_assert (const char *expr, const char *file, int line) {
  char str[12], *p;

  fputs("*** assertion failed: ", stderr);
  fputs(expr, stderr);
  fputs(", file ", stderr);
  fputs(file, stderr);
  fputs(", line ", stderr);

  p = str + sizeof(str);
  *--p = '';
  *--p = '
';
  while (line > 0) {
    *--p = '0' + (line % 10);
    line /= 10;
  }
  fputs(p, stderr);

  abort();
}

__attribute__((weak))
void abort(void) {
  for (;;);
}
Comment

PREVIOUS NEXT
Code Example
Cpp :: C++ check if thread is joinable 
Cpp :: how to writte comment in c++ 
Cpp :: cpp practice questions 
Cpp :: how to adjust and delete memory in c, c++ 
Cpp :: how to print std::string 
Cpp :: Calcular el número mayor y menor C++ 
Cpp :: c++ read_ascii 
Cpp :: c++ caps lock key 
Cpp :: find largest number in each row in array c++ using function 
Cpp :: Marin and Photoshoot codeforces solution in c++ 
Cpp :: return value from a thread 
Cpp :: c++ How to not use friend declaration when equipping a class with `operator<<` 
Cpp :: type defination in C++ 
Cpp :: python pour débutant 
Cpp :: Error: C++14 standard requested but CXX14 is not defined 
Cpp :: cplusplus 
Cpp :: how to list directory in c++ 
Cpp :: Arduino Access Point ESP8266 
Cpp :: infix to prefix using cpp linked list program 
Cpp :: Structure of s void function 
Cpp :: kruskal algorithm in c++ 
Cpp :: are maps sorted c++ 
Cpp :: c++ map value int to string 
Cpp :: c++ install 
Cpp :: fenwick tree 
Cpp :: stream in c++ 
Cpp :: pre increment vs post increment c++ 
Cpp :: how to find maximum value in c++ 
C :: terminal size in c 
C :: c get file size 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =