User Tools

Site Tools


c11

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
c11 [2019/07/17 14:04]
rpjday [TOPICS]
c11 [2019/08/05 13:31] (current)
rpjday [Internal links]
Line 10: Line 10:
   * [[https://​en.cppreference.com/​w/​c|cppreference.com]]   * [[https://​en.cppreference.com/​w/​c|cppreference.com]]
  
-===== Figure out =====+===== Fedora packages ​=====
  
-  * What is "​embedded C"?+  * clang 
 +  * valgrind 
 +  * meld [for graphical diff] 
 +  * strace; ltrace 
 +  * splint 
 +  * pkg-config 
 +  * gdb; lldb 
 + 
 + 
 +===== To document ===== 
 + 
 +  * List the properties of "​embedded C".
  
 ===== Internal links ===== ===== Internal links =====
  
   * [[21st Century C]]   * [[21st Century C]]
 +  * [[GCC extensions]]
 +  * [[SEI CERT C Coding Standard]]
  
 ===== DON'T CARE ===== ===== DON'T CARE =====
Line 37: Line 50:
  
 ==== Types ==== ==== Types ====
 +
 +  * scalar
 +    * arithmetic
 +      * basic
 +      * enums
 +    * pointers
 +  * aggregate
 +    * array
 +    * structure
  
 ==== Assertions ==== ==== Assertions ====
Line 42: Line 64:
 ==== Compound literals ==== ==== Compound literals ====
  
 +==== Generic selections ====
 ==== Preprocessor ==== ==== Preprocessor ====
  
-  * ''​include_next''​+  * ''​#define''​
  
 ==== Threading ==== ==== Threading ====
Line 51: Line 74:
  
 ==== setjmp/​longjmp ==== ==== setjmp/​longjmp ====
 +
 +==== Atomic objects ====
 +
 +==== GNU extensions ====
 +
 +  * ''​include_next''​
  
 ===== Static analyzers ===== ===== Static analyzers =====
  
 ===== Libraries ===== ===== Libraries =====
 +
 +  * because C is a very simple language
 +
 ===== TO DO ===== ===== TO DO =====
  
   * ptrdiff_t, size_t   * ptrdiff_t, size_t
   * inline functions   * inline functions
 +  * flexible array/​structure member
   * multi-threading   * multi-threading
   * type-generic macros   * type-generic macros
-  * variable-length ​macros+  * variadic ​macros
   * assert(), static_assert(),​ _Static_assert()   * assert(), static_assert(),​ _Static_assert()
   * new library functions(?​)   * new library functions(?​)
Line 68: Line 101:
   * variadic functions (p. 127)   * variadic functions (p. 127)
   * "​restrict"​ type qualifier   * "​restrict"​ type qualifier
 +  * offsetof()
   * generic selections (_Generic)   * generic selections (_Generic)
   * Define "​embedded C".   * Define "​embedded C".
Line 146: Line 180:
  
 ===== Threads ===== ===== Threads =====
 +
 +  * C11 threads versus POSIX threads (threads.h)
  
  
c11.1563372274.txt.gz · Last modified: 2019/07/17 14:04 by rpjday